Hi,
I wanted to know whether there is a possiblity to check if an entity has stopped moving?
My Situation is as follows. The balls we shoot at birds get removed after they touch an invisible border at the bottom of the field. Now we have levels in which the balls are used e.g. to close gaps or maybe later on to activate a switch. In this case, they will never fall down and will never get removed. My problem is now, that our game ends, when all the balls are removed -> so the game never ends.
And thats why I need to find out whether the ball has stopped moving, cause it is in a gap or on a switch, so that i can decrement our shotsInTheAir variable and the game ends without these balls being actually removed.