I am working on a highly mechanical football game and need to limit a players movement at highspeeds, although other games allow the player to use roblox movement and come to a complete stop instantly or cut instantly i would like to limit the players turn speeds, once reaching 30 walkspeed.
(problem stated here)
once the player reaches top speeds they are zoomed into first person (already did this), now for the tricky part, limiting the players turn speed. while holding w the player can use the a and d keys to align themselves but at a pretty slow turn rate. i would also like to disable the a and d keys moving function to stop strafing during this period. Thank you guys! cheers!
You will need a completely custom movement system for something like this. You could rely on Humanoid.MoveDirection, but I would recommend manually tracking what keys the player is pressing. Also, if you are making the system work while in first person, you will need a form of ghost mouse and a custom camera. When the player moves their mouse 100 pixels, rotate the custom camera the equivalent amount of like 25 pixels. Hope this helps, Iām just giving you a general overview of some of the systems you will need to code.
Yes, I assumed an if else statement would be obvious considering the advanced mechanics we are talking about. If you would like to help you could provide a much more complete segment. We are talking about how to make a turn speed actually function, not just set a variable called turn speed.