emtneutrino / races

BSD 3-Clause "New" or "Revised" License
13 stars 12 forks source link

Added headings to waypoints #8

Closed RustyTheDalek closed 7 months ago

RustyTheDalek commented 1 year ago

So me and my friend who have been experimenting with this script found when respawning your heading isn't changed. so you can be facing the wrong direction when you respawn. So What I've done is save the heading data when making the race and then when respawning it uses the heading data to reorientate the player which is a much better experience

emtneutrino commented 7 months ago

Heading is now recorded at the last waypoint passed. If a player respawns, they will spawn at the last waypoint passed and use the heading that was recorded when it was passed.