PDA

View Full Version : FFD Rotate?


digitalrhino
04-08-2005, 08:57 PM
Hi I’m trying to make a script that will
-create an FFD_2x2x2 or Edit poly modifier
-Then rotate only this modifier at a 90 degree angle
so that at a later time the above modifier could be turned off, and the object would revert back to its original position.
I've tried everything I can think of. But only end up rotating the base object not the modifier. Any help that would lead me in the right direction would be greatly appreciated.

Thanks

marktsang
04-08-2005, 10:33 PM
why use a ffd if all you wannd do is rotate it 90 degrees - i would use an xform for this ->


addmodifier $ (xform ())
blah = $.modifiers[#Xform].gizmo
blah.rotation = (eulerangles 90 0 0) as quat

mark tsang

digitalrhino
04-08-2005, 11:22 PM
Thanks alot, that worked like a charm. Didn't even know about the xform modifier.

CGTalk Moderation
04-08-2005, 11:22 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.