|
Is there a way to make a player object respawn after death and not be called a clone, or is that just the way it's handled in the engine? What I need to do is, once the player object is respawned/ instantiated, have enemies set the object to its target and also the camera to its target, and I don't know how to make that work right. Not even in Java, which is what I'm using. :(
(comments are locked)
|
|
Maybe you do not want to destroy your object in the first place, only deactivate (and not render)? On respawn you re-activate it again and all the references should still work.
(comments are locked)
|

Yeah, I'm pretty sure you're not using Java.
In any case, this is a good reason why you shouldn't use GameObject.Find("name") to identify objects- you should just be passing references around by script.
This might help.