- Home /
Question by
TheCount · Dec 25, 2013 at 08:41 PM ·
javascriptinstantiaterespawncreateracing
Best way to respawn car?
I have a racing game I'm working on and currently when the player racing car crashes it blows up, creates a gameObject called "respawn" and then destroys itself.
The camera is attached to the player at all times.
The object respawn then instantiates the player at the last respawn point he had crossed.
This for some reason doesn't work.
I'm pretty sure my code is sound.
Any better ways to respawn?
Or a guess as to why my object doesn't work?
Comment
Best Answer
Answer by TheCount · Dec 25, 2013 at 11:56 PM
I solved it:
The Object Respawn wasn't part of the prefab for the player
sorry
Your answer
Follow this Question
Related Questions
Spaceing out objects 2 Answers
A bit complicated instantiate question 2 Answers
Respawn Player Using a Coroutine 0 Answers
Respawn item if player dies 0 Answers