Dynamic walkspeed based on move direction

hi, i wanted to add dynamic movement speed based on a change in direction.
scenario:

  • the player is running forwards in a straight direction
  • player jerks mouse to the left to change directions fast
  • player should slow down before adjusting to new direction, and then return to normal running speed

some examples of these in games:


a bit less noticeable, but you dont continuously go in the direction your camera is facing immediately after you turn, instead you slow down a bit to do a 180

more noticeable here and what i want. when i run and change camera directions the player nearly stops entirely before returning to their running speed

i was wondering how I could replicate this for my own game? thanks!

Character controllers!

https://create.roblox.com/docs/physics/character-controllers

oo, these look interesting. i’ll check out the docs and lyk how it goes, thx!

Roblox’s custom character controllers leave a lot to be desired. My experience with them in creating custom movement systems have been less than satisfactory to say the least.

I suggest doing Lerp magic based on your humanoidrootparts flattened AssemblyLinearVelocity and your humanoids WalkSpeed to simulate dynamic movement.

Or, just simply change the friction properties in your character’s CustomPhysicalProperties.