Humanoid MoveDirection resets on Scriptable movement mode

When Player.DevComputerMovementMode is set to Scriptable, the Humanoid’s MoveDirection is automatically reset on every render step. This was incredibly frustrating. I was trying to call Player:Move() on Heartbeat, and it wasn’t working. It took me over an hour to figure out that I had to put it in a function bound to RenderStep.

Considering the mode is “Scriptable”, it makes no sense for MoveDirection to be reset to (0, 0, 0) every frame. I would consider this to be an unexpected behavior.

A player’s move direction should only be based on the scripted input direction when DevComputerMovementMode is set to Scriptable.

5 Likes