Is there anywhere good simple tutorial to making checkpoint system? Few I have tried but not working. Making simple ball game and want only that when player passed/collided to checkpoint and if player/ball kills after that, respawning to checkpoint
Hi,
You could make a vector variable called ‘LastCheckpoint’, and when your player enters your checkpoint (a trigger box for example) you can update the ‘LastCheckpoint’ vector with the current position of the player or with any pre-defined value.
When your player dies, you just need to use your ‘LastCheckpoint’ vector as the spawnpoint of your player.
This solution should provide a pretty basic checkpoint system for you to imporve as you see fit.