Game Development Community

When character lands he stays airborne

by Keith Murphy · in Torque Game Builder · 07/19/2008 (7:07 am) · 7 replies

Is it a common issue for newbies to have issues with characters staying in their airborne animation with when they hit the ground? Both the player character and what he's colliding with has send and receive physics and collisions turned on. I'm pretty confused.

Thanks!

#1
07/19/2008 (9:13 am)
Is this a PSK specific question? If so it should probably be posted in the PSK forum. If not I guess you could be using the TDN mini-platformer tutorial. If you clarify your question you will get more responses. Unfortunately I'm not very familiar with either the PSK or the mini-tutorial...
#2
07/19/2008 (11:43 am)
I had a similar issue with the miniplatform tutorial. If it would help I could post my code here.

Essentially i have a jump button, but it doesn't always work :( I'm guessing that there's issues with the collision.
#3
07/19/2008 (2:51 pm)
Is this to do with the PSK Keith?
#4
07/19/2008 (3:07 pm)
I'm trying to make a platformer, but no it's not about the kit in particular.
#5
07/19/2008 (3:13 pm)
So, how long is a piece of string?

You're really going to need to be more specific about the problem that you are having. Try posting some of your code here if you are so inclined.

It sounds to me that you have a flaw in the way you are detecting the ground itself, but without more information I couldn't be sure.
#6
07/19/2008 (5:59 pm)
A forumite PMed me and took my code and fixed it. Also left some comments to see where I went wrong.

Thanks guys! (and THANK YOU THEO)
#7
07/20/2008 (8:00 am)
Glad I could help out ;) also if you're new to Torque and TGB try Context

Download the Highlighter File for Torque script. This app helped alot!

Cheers
Theo