Game Development Community

Is there a reason for in air collisions?

by CharlesL · in iTorque 2D · 10/16/2012 (11:47 am) · 1 replies

I have some code that will check if the player collided with the floor, however, it sometimes calls when the player is in the air( and not touching anything). Is there a way to set high quality collisions or something similar to prevent this?

#1
10/20/2012 (11:05 am)
There is a workaround - you'll have to write some code in the touchUp function so that part of the onCollision function doesn't continue to run.