How can i detect the free fall of an object or its collision with the floor( a block) ?