How does this racecar drafting mechanic work?

Hey all,

How is this drafting mechanic made?


If you don’t understand, each car tops out at 264 mph. You can see my speed in the video, and to overtake the car ahead of me you enter their draft zone to surpass them.
Thanks!

As a developer who works with similar cars, a simple way to put it is that basically every second or so the car spawns out an invisible block that for 2-3ish seconds when hit, will add +2sps to your maxspeed, then after the 2-3 seconds it will subtract the 2sps back

If you keep hitting the blocks you can get more max speed before it subtracts the 2sps back after the 2-3 seconds, so in total you gain more speed than you lose if you stay in the “draft”

Also it probably has a check for a “max drafting speed”

1 Like