Game Development Community

Wierd platform behavior

by Abhinav Chokhavatia · in Torque Game Builder · 05/28/2008 (6:00 am) · 1 replies

Hey guys,

I was trying to incorporate a moving platform into my game, and yes I was able to. Sadly, while the platforms moves up and down just fine, my main player becomes static when on the platform. More specifically, when the platform moves and I try to make him run, the run animation is played but he doesn't move in the forward direction. When the platform is moving down, he can walk on it but he can't jump.

I have noticed something peculiar though while the platform is moving downwards and the player is on it. The player doesn't stay static on the platform. The platform seems to move at a slightly faster speed than the player so he keeps falling down on it, though he isnt colliding with it.

Can you tell me how to handle this problem of moving platforms? Or can you direct me to some tutorial on this topic?

Thanks!
~Abhi

#1
06/01/2008 (4:23 am)
I would suggest setting linear velocities directly on the player that correspond to the platform's movement. It sounds like you just have some physics issues.