Game Development Community

Pivot Point Mounting Question

by Michael Gesner · in Torque Game Builder · 02/22/2009 (10:31 am) · 2 replies

According to the Mounting Tutorial on TDN, a mounted object centers around the link point its being attached to. In other words, the pivot point of the object being mounted is attached to the link point of the object it is being mounted to.

I have an engine flame animation which I want to attach to the end of my ship, where I have a link point. Particularly, I want to be able to attach the TOP of the engine flame animation to the BOTTOM of the ship.

I am aware of the following solutions, but would like a cleaner one:
- Mount a longer simobject to the ship, and mount the flame to the simobject.
- Extend the length of the flame animation with blank space to change the pivot point of the flame so that it mounts in the appropriate place

Neither of these solutions allow my artist to alter the shape and placement of the flame in the visual editor in a way that makes for clean contrail code and the reuse of our flame animation.

Am I missing a simple solution, or is the pivot point limitation of object mounting what is holding me back?

#1
03/03/2009 (7:36 pm)
I'm guessing by the immense silence that either no one knows, I don't know what I'm talking about, or there isn't significant interest in this problem ;)
#2
03/03/2009 (7:50 pm)
Most solutions are going to inelegant for this problem.