In my game I have an quite irregular terrain at the bottom and a round ball which can be controlled by the keyboard. Is there any way to check, if the ball is currently on the terrain? This is very important to know because the ball should only be able to be controlled when it is on the ground.
I tried to use the OnCollision
event of the ball body, but it only gets fired on the first occurrence.... For my problem a continuous type of collision-detection is needed.