#Player drift

1 messages · Page 1 of 1 (latest)

sage star
#

Hey so I'm trying to make a racing game rn but instead of carts or fancy vehicles it's just straight up booking it to the finish line. I wanted to add a drift mechanic like sonic had in sonic unleashed but body velocity doesn't allow the player to keep moving the way they are and it will stop them all together. I don't wanna ask for someone else to make the script for me but I would like to at least get a good idea of what direction I should go in to make this possible. Even knowing what velocity type to use would help.

#

This is an example btw for those who don't know the game

polar zenith
#

just give up

#

making drifting friction and velocity in roblox studio is just unimagionable amounts of pain and brain cancer

sage star
#

Rip ig thx anyways

blissful urchin
#

my best guess would be

Set some constants for the physics
speed
maxspeed

#

driftforce
acceleration if you want that

then see if body velocity could do the trick

heartbeat might be the best as its good for physics calc and car movement

#

ive never done it so i cant help to much further than this but you could prolly get close to your dreams even if roblox is a bit wacky