Game Development Community

Collision on an moving object

by PGames · in Torque 3D Professional · 07/07/2010 (7:12 pm) · 1 replies

So I'm trying to put collision on an animated platform, it works great until the platform starts to move, then the character falls through. I'm using AFX2 with 1.1 so the physics system doesn't exist. Is there a way to ensure a character can stay on the platform without physics?

#1
07/08/2010 (3:47 am)
Animaton + Collision = Mess. If you try to animate collision, your collision meshes will disapear when starting the animation for some strange reason. I had to deal with this when making doors since i couldn't animate the collision to follow the door. I ended up coding the collision to the door with schedules and setTransforms. In your case, since you have a platform, you might want to look at this resource. Not sure if it works in your cas with afx and all, but it's worth a try.