How to reduce strafe angle while moving forward?

When a player is moving forward and they start strafing left or right (W + (A or D)) they will move in a direction 45 degrees offset from straight ahead.

I want to adjust this angle so that strafing while moving forward is less pronounced. For example, so that they only strafe up to 10 degrees offset while moving forward.

Any ideas of how to achieve this?

3 Likes

Unless you can modify the MoveDirection property of the humanoid(i’m not sure if you can) this would be pretty hard to implement, probably requiring a custom movement system. Generally, you could lerp the movement vector towards one that is straight forward by, like, 0.5 and that would make it a 22.5 degree angle. (That wouldn’t use an angle as a parameter, but I would assume it doesn’t need to)