public override void SimulateOwner() { if (AcceptMove == true) { UpdateMoveInputs(); } if (AcceptLook) { UpdateLookInput(); } Vector3 direction = Vector3.zero; if (_forward) { direction += transform.forward; } else if (_back) { direction += -1 * transform.forward; } if (_left) { direction += -1 * transform.right; } else if (_right) { direction += transform.right; } _playerMovement.Rotate(_yaw); _playerMovement.Move(direction); UpdatePitch(); UpdateAnimator(); }