Hi,
I want to know the constraint i should use for a rotating body like the Starcraft's turret or the top of a tank.
I want the "base" to be able to move and the "top" will stay at the same relative(not absolute) position (always at the top of the turret/tank).
Thanks (sorry if my english isn't really understandable )
Which constraint should i use?
-
- Posts: 107
- Joined: Fri Sep 19, 2008 6:08 pm
Re: Which constraint should i use?
I suppose a hinge, where its only constrained to rotate along the Y (or whatever is your up axis).
Or you can forget about constraints and use matrix stack or attach the top object to your base object. Whenever you move the top object combine its matrix with the base object.
Hope that helps
Cheers,
David
Or you can forget about constraints and use matrix stack or attach the top object to your base object. Whenever you move the top object combine its matrix with the base object.
Hope that helps
Cheers,
David
-
- Posts: 4
- Joined: Sat Aug 23, 2008 9:02 pm
Re: Which constraint should i use?
thanks very much!
I'll try it now.
I'll try it now.