- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Currently i'm using IObjParam->GetModContexts to get the mod contexts associated with my modifier. then i'm just grabbing the first node returned to use it's transform. which works great when one of the nodes is selected. however, when another node that is referenced by my modifier is selected, GetModContexts doesn't return anything. this is as the comments on GetModContexts specifies. what i'm looking for is a consistent way of getting one of the transforms of one of the nodes my modifier is applied to.
to give context, i'm referencing a path and using it for positioning within my modifier and would like the positions to line up on the path even if a node is transformed. understanding the limitations associated with referencing and instancing.
it may end up being a moot point though, I need to find out what usage my user is needing the transform to be away from world center if the results end up being on the spline anyway. because it would in theory cancel out any animations anyway. but if someone knows a better way, it would be good to know.
also, this won't work as a world space modifier or a singleton type using things like IsWorldSpaceObject because it needs to be able to be instanced among many items (parametric in nature).
Solved! Go to Solution.