arcoraven
03-13-2010, 03:19 AM
My MPxLocatorNode needs to access/modify a shape's transformation matrix, as well as access the points on the mesh itself for calculations.
To do this, I'm trying to feed a transform node (I think that's what its called...the node that holds the transform matrix for each shape object) as an input to a MPxLocatorNode, but I'm having trouble. (What type should the plug be, and what output on the transform node do I want?)
The reason why I'm grabbing the transform node and not the shape itself is, in the case of instanced geometry, I'd want a unique locator node for every shape, and each shape has its own transform node. I'm assuming I'm going the right direction here.
Any help is greatly appreciated. Thanks.
To do this, I'm trying to feed a transform node (I think that's what its called...the node that holds the transform matrix for each shape object) as an input to a MPxLocatorNode, but I'm having trouble. (What type should the plug be, and what output on the transform node do I want?)
The reason why I'm grabbing the transform node and not the shape itself is, in the case of instanced geometry, I'd want a unique locator node for every shape, and each shape has its own transform node. I'm assuming I'm going the right direction here.
Any help is greatly appreciated. Thanks.
