Using SwapActor with ReverseGravity
by Hunter · in Torque X 2D · 03/31/2008 (10:48 am) · 0 replies
I'm encountering an error when using the SwapActor component with the ReverseGravity component. When gravity is normal the swap works fine, but when gravity is on the ceiling, the swap comes in at the normal orientation above where the actor is and then snaps down to the actors position and flips appropriately. The problem is that after a swap like this the player constantly plays their falling animation, and does not consider the ceiling to be ground (ie OnGround is always false). Has anyone else run into this? Any help or ideas would be appreciated