Notifications
Clear all
[Closed] on canManipulate target – Scripted Manipulator
Aug 20, 2008 5: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
1 Reply
Aug 20, 2008 5:49 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.