Game Development Community

mount the player to a animated node

by Thomas Bang · in Torque Game Engine · 05/25/2009 (12:14 am) · 2 replies

I animated a node called "mount0" in a StaticShape.
Now, when i mount the player to the node the player is moving up and down. Perfect.

But there is a problem: When i look down the animation is playing. But when i look forward or up the animation stops ( the player itself is the control object ).

#1
05/25/2009 (1:28 am)
It seems like the shape you're mounted to might be out of scope - not rendered, because you can't see it. In that case, it will stop animating. Try making the shape's bounding box much larger, so the mounted Player is always entirely inside it, and see if the problem goes away.
#2
05/25/2009 (1:38 am)
Perfect. It works it works it works. :-)