Strange humanoid physics issue with AlignOrientation

I have previously been using a BodyGyro to rotate characters towards the mouse pointer. However, this is sometimes unreliable and starts fidgeting. I replaced the BodyGyro with an AlignOrientation, and now the humanoid does not always want to turn towards the mouse. It works when in air, but not while on the ground. It’s as if humanoid physics take priority, but only on certain humanoid states.

Here’s a small repro file, the script is inside StarterCharacterScripts:

HumanoidPhysicsRepro.rbxl (11.7 KB)

Fixed it by adding this:

Humanoid:SetStateEnabled("RunningNoPhysics", false)

2 Likes

Thank you! This worked for me, and I haven’t had any issues with it so far.

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