Walking the player into spikes causing a respawn would be a good example.
Is there any way to do this, like a script I can input, or an easy explanation? I’m quite new to unity.
All help is appreciated.
Walking the player into spikes causing a respawn would be a good example.
Is there any way to do this, like a script I can input, or an easy explanation? I’m quite new to unity.
All help is appreciated.
You can set object working as respawn point and transform player to this resp point on collision with spikes for example.
if you are new to unity i would recomend following a tutorial
i would recomended this guy since he spends alot of time explaining stuf
https://www.youtube.com/watch?v=ndYd4S7UkAU
he also shows you some other basic stuff you probly want in a 2d game
but its pretty much what SahdoX explains it