Game Development Community

Animations and Collision Boxes Problems

by Spencer Strombotne · in General Discussion · 09/15/2008 (11:52 am) · 1 replies

I have a function that makes one of my objects rise up out of the ground and rotate 180 by using an animation. I use the playThread method to play the animation. The only problem is that it moves the image of the object but the collision box stays underground. Is there anyway to fix this?

#1
09/15/2008 (12:34 pm)
Hmm, I've seen a few examples of animated collision meshes (for example the door resources). So you may consider that.

Alternatively you could make the animation contain only the rotating, and physically move the object up when it is supposed to move up.