SplineHelp and scaling

On 03/01/2014 at 22:33, xxxxxxxx wrote:

Greetings to all!

I'm kinda new to plugin development here, so please bear with me. I'm trying to use the SplineHelp in a Python tag to attach some objects to a spline. This seems to work well when I configure SplineHelp to use global positioning (which is the default). I can get the matrix of a position on the spline and everything seems to work well.

However, if I drop that entire rig into something like a null object (or XRef it in another scene) and scale things, then the scale and rotation of the object attached to the spline go totally haywire on me. It's not the same effect as if I were to disable the python tag and scale the parent object, which is what I'm trying to achieve.

Is there any way to do this with SplineHelp? I kinda need it set to global mode (or some way of replicating that functionality when it's running in local mode instead), but yet I need to be able to scale it properly when the objects it manipulates (both the target spline and object that I'm attaching to it) are parented to another object (which is then scaled).