Game Development Community

Moving Platforms

by Chris Canepa · in Torque X 2D · 09/24/2008 (7:50 am) · 1 replies

The reason I am posting here is because these are more active forums. My question is about the Platform Starter Kit. How do I make a moving platform. I just want a platform that moves up and down. I tried using the PlatofrmMoveComponent but with no luck.

Any help would be appreciated.

#1
09/25/2008 (3:06 am)
There are a coulpe of possibilies to achive this. You can do that with the T2DWorldLimit Component. In TXB add the Component, change the worldlimit to the distance your platform should move, set bounce collision response and set the velocity in the y component of the physics component to the speed you want.