I have a school homework to create a simple bowling game. After applying force to the bowling ball, I want to detect if the game is over (if the bowling ball has stopped moving or fell off the ground) then I can show the score and “play again” button, but I’m not sure how to detect if the ball has stopped moving. Is there any BABYLON function that can do this?
Do you plan on using a physics engine?
getLinearVelocity() could let you know when something stops moving