Author Topic: Making a playertype stop immediately?  (Read 1659 times)

Instead of floating around a little bit like they're on ice, any way I can make a playertype stop on a dime and go whichever direction they want immediately?

potentially increase drag or something

hopefully im understanding this righ, you simply want to stop a player dead in their tracks?

if they are walking/running
setMaxDirectionSpeeds to 0

wouldn't that make it so they can't move?
sounded like he wants movement to stop when you stop pressing WASD, instead of sliding around

wouldn't that make it so they can't move?
sounded like he wants movement to stop when you stop pressing WASD, instead of sliding around
more of this, yeah. don't want a player to stop moving, just have no "ice skates" when done moving

change the acceleration (moveforce) on the player to be some absurdly high value. iirc the slowdown speed is the same as that.

what hes saying is he wants there to be really high friction basically

what hes saying is he wants there to be really high friction basically
in that case phlack had the right idea by increasing the drag on the playertype. You could also mess around with the runSurfaceAngle which will make the player more or less slippery