What descendant of PlayerModule is responsible for adjusting character's lookvector with movedirection?

What part of PlayerModule (default Roblox modulescript) is responsible for making player’s character look to where a character is moving?

In the ControlModule

Humanoid:Move and Humanoid.AutoRotate are the things you should look for

Neither fit for the script I’m making.
Couldn’t find the part which rotates the character, only the part that (seems to) determine movedirection
Or is the LocalPlayer.Move() the one that rotates the character?

What exactly is your request?

Character move direction is updated in ControlModule:OnRenderStepped.

The character’s LookVector updating is not actually a part of the PlayerModules, and instead was lazily hacked in is taken care of by the engine through UserSettings().GameSettings.RotationType. You’d have to disable Humanoid.AutoRotate and remake it from scratch to alter it.

1 Like

Oh dude, this sucks that Roblox forces you to remake systems from a scratch instead of letting you modify the original a bit.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.