Rotate an object - but not around it's center?
by ChrisG · in Torque Game Engine · 09/28/2007 (5:25 am) · 2 replies
I've created a door script that allows the player to interact with the door and make it swing open and closed.
The problem is that the door rotates at its center and not at the hinge.
I think I need to move the pivot point of the dts door (created in 3ds max) - how to I do this? Will this actually work, and if not what other way is recommended?
The problem is that the door rotates at its center and not at the hinge.
I think I need to move the pivot point of the dts door (created in 3ds max) - how to I do this? Will this actually work, and if not what other way is recommended?
About the author
Currently working on ZDay: www.zdaygame.com
#2
found in the faqs how to do it max:
- (Command Panels -> Hierachy -> Pivot -> Affect Pivot Point)
It works fine now
.. door opens... door closes... door opens... door closes...
09/28/2007 (1:28 pm)
Thanks found in the faqs how to do it max:
- (Command Panels -> Hierachy -> Pivot -> Affect Pivot Point)
It works fine now
.. door opens... door closes... door opens... door closes...
Torque 3D Owner Sean H.