Max Script|コントローラ-回転拘束_lookat
3324 ワード
回転コントローラ呼び出しの詳細を記録
T = teapot() --
C = circle radius:90 wirecolor:red --
t.rotation.controller = lookat_constraint() -- looat
A = t.rotation.controller -- A
S = sphere radius:3 wirecolor:blue --
A.appendtarget $sphere001 50 -- 50
A.lookat_vector_length = 50 --
A.viewline_length_abs = on --
A.set_orientation= off --
A.relative = off --
A.target_axis = 0 --
A.target_axisflip = on --
s2 = Sphere radius:10 pos:[100,0,0] -- 2
A.appendtarget $sphere002 20 -- 2
A.getnumtargets() --
A.getweight 1 -- 1
A.getweight 2 -- 2
A.setweight 2 80 -- 2