PDA

View Full Version : on canManipulate target - Scripted Manipulator


fferro2
08-20-2008, 05:49 PM
Hi,
I'm developing a scripted manipulator to manipulate a Biped Object.
on canManipulate target return superclassof target == GeometryClass and ((classOf target.baseObject) == Biped_Object)
Let me pass the Biped as target, but I cannot see any property of it.
I guess I have to use the other option:
on canManipulateNode n
But it's not documented.

Anybody knows how to pass this value:
bipedNode.controller.rootName
to the script?
Thanks

fferro2
08-20-2008, 06:09 PM
Solved:
on canManipulate target return (classOf target == Vertical_Horizontal_Turn)
So, target can be anything (property, controller, etc.), not just a node.

Sorry,I ought to have tested a little more before asking.

CGTalk Moderation
08-20-2008, 06:09 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.