Hi,
we all know well that any object has a rigidbody attached has a gravity, and we know this object must fall by physic engine to collide nearest ground … ok!
my problem:
suppose, there is an object has a rigidbody, when game start it should go to certain position, I want first check if it touch the ground or not and it can’t move unless it touch the ground, how can i check that?
regards
Mahmoud Fadel
the ground is at the point 0 of the Y axis is not it? then check the “void update ()” oy if your character is close to 0 so you check if he is close to the ground!