I would presume a branch would check if your cast to the track is hitting the track.
Be interesting to combine the “thrust” of the vehicle to the tick (Delta time so it’s smooth across frame rates) to reduce the effect every moment you’re off the trathethat way you could have “short cuts” at a risk, areas where you go through futuristic setting, and if you go off the track you float lower and lower moving slower and slower