Notifications
Clear all

[Closed] SDK – How do you get the GlobalTM of a base Object

Hi,

                                         I’m trying to modify the Normalize Spine Modifier  to add a conform to mesh component to it.  I have it projecting onto the  mesh properly (if the spline is at the origin)                       however I need to find the global TM of base  spline to properly offset the vertices when the spline is not at the  origin.                     

                                         So my question is how do you find the global TM of the base object of a modifier. Using                     

                                         ModifyObject(TimeValue t, ModContext &mc, ObjectState * os, INode * node)                     

                                         the node is apparently NULL therefore I can’t use the GetGlobalTM() on it.                     

                                         Thanks,
                    Rod