PDA

View Full Version : Delete controllers method.


floatingworld
07-06-2011, 02:02 PM
I want to remove the controllers on an object...
as in :

$.Morpher[2].controller[1].controller

I tried every variation of delete to no avail...
What's the method?
Thanks in advance, sorry for the newbie type question but I haven't much time.

JHN
07-06-2011, 02:56 PM
With morpher there's no way to delete just the controllers (which in general is also not easy). Once a morphtarget is set a controller is made, so only thing you can do is delete the morphtarget, which probably defies the question in the first place....
If you need to reset the controller to a default zero'd out state you could do

$.morpher[1].controller = createInstance bezier_Float


-Johan

CGTalk Moderation
07-06-2011, 02:56 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.