nanjoutai
02-04-2005, 06:02 AM
i'm trying to animate a piston in 3ds max 7. i have a very basic setup, with a chamber, a rod, and, to keep things simple, a single hinge for the rod. the chamber has a lookat constraint set to the rod hinge, and the rod has a lookat constraint set to the chamber. the rod's pivot point is coincident with the rod hinge, and the rod is connected to the rod hinge in the schematic view.
here's a screenshot of a simple test scene i created, which works perfectly:
http://brooksfredrikson.com/cgtalk/piston1.jpg
[this pic shows two hinges, but it works correctly with the rod looking at either the chamber's hinge or the chamber itself]
as you can see above, i've moved the hinge on the right up (the hinges started out aligned horizontally), and the chamber (left) and rod (right) have rotated accordingly. all is good and perfect.
however, i've tried to apply this to a mech i'm working on, and the rod is being distorted whenever i move the hinge on an actual model. here's a screenshot:
http://brooksfredrikson.com/cgtalk/piston2.jpg
as you can see, the rod isn't rotated correctly, and the model itself is skewed a bit. the two environments are setup exactly alike, to the best of my knowledge. same structure, same links in the schematic view, pivot points set the same way....
if anyone has any suggestions on why this sort of thing would happen, please let me know.
thanks in advance
here's a screenshot of a simple test scene i created, which works perfectly:
http://brooksfredrikson.com/cgtalk/piston1.jpg
[this pic shows two hinges, but it works correctly with the rod looking at either the chamber's hinge or the chamber itself]
as you can see above, i've moved the hinge on the right up (the hinges started out aligned horizontally), and the chamber (left) and rod (right) have rotated accordingly. all is good and perfect.
however, i've tried to apply this to a mech i'm working on, and the rod is being distorted whenever i move the hinge on an actual model. here's a screenshot:
http://brooksfredrikson.com/cgtalk/piston2.jpg
as you can see, the rod isn't rotated correctly, and the model itself is skewed a bit. the two environments are setup exactly alike, to the best of my knowledge. same structure, same links in the schematic view, pivot points set the same way....
if anyone has any suggestions on why this sort of thing would happen, please let me know.
thanks in advance
