Notifications
Clear all

[Closed] Find instanced script controllers current objects name?

Any help would be greatly appreciated

I have a script controller which is instanced on a bunch of objects that are children to objects positioned on a path with a path controller. I need to find out the object that the script controller instance is currently acting on so I can find its parent and get the percentage that the parent is along the path.

I’ve tried playing around with refs.dependents and refs.dependentNodes but the best I can get is a array with all the objects that the controller is instanced on.

1 Reply

you may be SOL…

From the “‘This’ Local Variable in Scripted Controllers” topic:

Obviously it is not possible to tell the actual node when the controller is instanced across multiple objects which is a known limitation.