I have a NurbsCurve that I’m loading from a .egg file that is has to be aligned to a piece of geometry.
Now, I figured out a way to reposition the curve by moving each CV of the NurbsCurve to the geometry’s position, saving this new curve as a new .egg and loading that back in. The problem I’m having now is aligning the NurbsCurve to the geometry if the geometry has been rotated.
I’m using this for a motion path. Which I will probably create at the end by seaming all of the NurbsCurves together. If there is an easier way than my approach, I’d like to hear it.
You’re right, of course–a NurbsCurve doesn’t have this method. Neither does a Mopath object. But the node that you’re using the Mopath to control does.
So, here the MopathInterval moves the node smiley along its path, in the relative coordinate space of the Mopath. But since smiley is parented to the node called root, you can set root to whatever coordinate space you like (“blah blah blah” in my example above), and smiley will inherit that coordinate space.
Can I also reparent the camera to this root if I would want to follow the object moving on the path or is there something different I can do with the camera?
edit
nevermind, you can reparent the camera and it works quite well.