关于物体在max 中的旋转处理 rotation中(quat 0 0 0 1) 和$.rotation.x_rotation 在处理上还是不同的。

oop=  $.transform
$.rotation=(quat 0 0 0 1)

subobjectLevel = 2
$.modifiers[1].Center = pos_pos
subobjectLevel = 0

$.modifiers[1].Gizmo = oop


--我用下面的方法吧东西做了出来。 实时说吗在 (quat 0 0 0 1) 与$.rotation.x_rotation =0
--$.rotation.y_rotation=0
--$.rotation.z_rotation =0 与前面的装换中确实存在着差异  我就用下面的方法做 好了


 oo = [$.rotation.x_rotation ,$.rotation.y_rotation ,$.rotation.z_rotation ]
 --我在制作时改了思路 这下就好了
 pos_pos = $.pos

$.rotation.x_rotation =0
$.rotation.y_rotation=0
$.rotation.z_rotation =0

addModifier   $ (XForm())


$.modifiers[1].Gizmo[2].controller[1].value  =oo[1]
$.modifiers[1].Gizmo[2].controller[2].value  =oo[2]
$.modifiers[1].Gizmo[2].controller[3].value  =oo[3]

 convertTo $ Editable_Poly  

posted on 2011-04-15 19:09  盖天00  阅读(658)  评论(0编辑  收藏  举报

导航