Skip to main content
This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
January 29, 2014

add an alpha=0 shape to your ground so it's detected even when your character is moving fast.  also, when contract is detected immediately move your character so it does NOT appear as if he's penetrating the ground.

Saravia95Author
Participating Frequently
January 29, 2014

I don't really understand, would you be able to elaborated a little bit more?

kglad
Community Expert
Community Expert
January 30, 2014

make your ground larger so it's easier to detect contact between your character and the ground.  ie, increase its height. 

because you probably don't want to change the ground that the user sees, add an alpha=0 shape to your ground.  it will look the same but contact will be detected with the current shapes that make up your ground and the alpha=0 shape.

then fix the glitch where it appears the character is falling below the top of the ground.  do that by moving the character as soon as contact is detected.