Check physics collision *right now*
Posted: Thu Oct 23, 2014 11:19 am
Hey there!
I'm using a physics world consisting of several bodies to make up the terrain.
I want to check whether or not I'm touching the ground right now.
Right now I'm using beginContact and endContact, but it kinda bugs when you are touching 2 terrain bodies at once.
Basicly: check if body is touching another body on demand.
I'm using a physics world consisting of several bodies to make up the terrain.
I want to check whether or not I'm touching the ground right now.
Right now I'm using beginContact and endContact, but it kinda bugs when you are touching 2 terrain bodies at once.
Basicly: check if body is touching another body on demand.