I have a small problem :/ In my platform game there is a cave with a dinosaur inside. His speed is 0 and he just starts running when the player overlapps a special object.
The dinosaurs speed is now 440 and you have to run away. That works pretty good. But now to my problem. The checkpoint for the player is behind the cave. If you die, you have to do all again. But how can i respawn the dinosaur again in the cave? First i have to destroy the dinosaur object when the player dies, right? And then i have to spawn another dinosaur object, but how can i spawn him at the start position in the cave? He always spawns there where the player died.. Sry for my english, hope its not too bad and thanks