I am trying to make infinite game and when car is upside down i want to be destroyed
I don’t know if delete this post, or redirect or just simply say to you this:
You may look for your answer by your own before coming here. And if come here is to ask something specific, and give information about what you want or you need.
You ask ¿how to destroy?
I say use Destroy()
Post moved to Moderation
You can add a special collider on the top of the car that detects if it collides with the ground
two ways:
Throw a raycast with some distance, if the contact is null then destroy
Or
If the rotation of the car is > to certain limit, destroy it