Activity › Forums › Maxon Cinema 4D › Null Problem
-
Null Problem
Posted by Mike Moon on October 21, 2009 at 1:02 amHello all, I have this model animating and when I parent it to a null it’s fine but if i move one frame forwards or backwards, the null jumps back to the center of the world axis moving my model with it. Is there some setting I’m missing? It’s really annoying cuz I can’t seem to figure it out. Thanks!
Mike Moon replied 16 years, 6 months ago 2 Members · 3 Replies -
3 Replies
-
Mike Moon
October 21, 2009 at 1:10 amI attached my model to a cube instead of a null this time. I moved the null on top of the model. Then parented the model to the cube. Pressed one frame forward and the cube stayed in place and moved the ladder as if the cube was in 0,0,0. Same problem. I don’t know what else to do.
-
Adam Trachtenberg
October 21, 2009 at 4:23 amWhen you parent an object to another object, the child essentially has it’s own local coordinates, but those coordinates are relative to the parent’s coordinates. Say, for example, you have your cube at 0,0,100 and animate it to 0,0,200. Those coordinates are relative to world 0,0,0.
Now you create a null at 0,0,100 and drop the cube into it. Now the cube’s position is relative to the null’s position, so it thinks that 0,0,100 is actuall 0,0,0. Consequently, it will jump to 0,0,100 in the null’s space, which unfortunately is 0,0,200 in world space.
There are a number of ways around this. The most straightforward is parent the cube *before* you animate it.
Or, instead of parenting, you could use Xpresso or set-driven keys to have the null’s position drive the cube’s position. To do that, go to the null’s Coord. tab in the attributes manager (not the coordinates manager) and right-click on one of the “P.”s (for Position). From the menu, choose Animation>Set Driver. Then repeat for the cube, but choose Set Driven (relative).
A third way to do it would be use a constraint tag on the cube, with a parent or PSR constraint. The key in either case is to check the “Maintain Original” box in the Offset section.
-
Mike Moon
October 21, 2009 at 5:27 pmThanks for your thorough answer. I guess I should just try to animate before I start adding nulls. It’s just that sometimes, I animate and then later, I use the nulls to tweak the positioning. Of the two other option, the Set Driver and Driven Xpressos seemed to work. I would just need to adjust the nulls underneath which isn’t that big of a deal. I probably should work with less nulls! The constraint tags didn’t really work for me in this case. Thanks for your help!
Reply to this Discussion! Login or Sign Up