I want to know how to make a condition that says object has stopped moving.
I work on a project there gamers goal is to get a object (in this case the player-object) to get to the ground, but if its bounce out the screen or fall into a hole, you will lose.
So far so good, the game sense if the object left the screens borders, and restart. But if it land on the ground the gamer win and can contiue to next level.
The problem I got if if it bounce to the ground and then out of border, it counts for winning, therefore I set a wait-timer, but then the win-screens appear but you still lose.
I want to set a condition for winning that says to the game; "the object is not moving, lemme win if the condition for touching the ground is true".