Game reset problem
I am making a game with a ball that launches into motion when pressed. I made a restart button by making a boolean attribute and making it place everything back to its original spot.
However, when the restart button is pressed, the ball was still in motion.
So I made the ball to have 0 motion when restarted, which worked but the ball wouldn't launch when pressed..
How can I make a restart button that will restart the whole scene and have the ball launch when pressed?
However, when the restart button is pressed, the ball was still in motion.
So I made the ball to have 0 motion when restarted, which worked but the ball wouldn't launch when pressed..
How can I make a restart button that will restart the whole scene and have the ball launch when pressed?
Comments