麻花的移动物体到原点
摘要:
--只移动Z轴到0fn moveObjectToZeroOnlyZ obj = ( local icenter local minz icenter = obj.center minz = obj.min.z move obj [0,0,-minz])--轴心归底fn CenterPiv i =( CenterPivot i --轴心归中心 i.pivot.z = i.min.z --轴心的Z轴等于物体最底点)--移动物体到世界原点fn moveObjectToZero obj = ( center = obj.center minz = obj.min.z move obj [-center 阅读全文
posted @ 2011-10-12 16:17 盖天00 阅读(233) 评论(0) 推荐(0)
浙公网安备 33010602011771号