Hi I’m working on a simple race track game and am looking for a script that would end the game with a “game over hit play to try again” screen when I would crash into a lake for example.
I have a body of water with a collider set to trigger and my car has wheel colliders, so my thought is when one of the wheel colliders hits the trigger, the screen would pop up directing the player to try again by pressing play, hopefully returning the car to the starting line.
Thank you and I’m open to all suggestions. Hope this makes sense.
What specifically are you unsure of how to do? And what have you tried so far?
collider triggers
game pauses or “crashes” in some way - this could be very simple to start out
UI pops up telling player to try again
scene resets
If you have a specific problem, this is the place. If you’re not sure what to do at all, you should go here.
1 Like
What’s your question?
You’ve described what you want, but not what you’ve tried to do and not what you have problem with.
I’ve got it worked out. Dumb mistake and you’re right - my question made no sense.