diff --git a/.gitmodules b/.gitmodules index 8fc8956..f94a70c 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "Assets/RebootKit"] path = Assets/RebootKit - url = http://100.115.126.106:3000/RR/RebootKit.git + url = http://100.64.0.6:3000/RR/RebootKit.git diff --git a/Assets/jelycho/Code/Player/PlayerActor.cs b/Assets/jelycho/Code/Player/PlayerActor.cs index 6fc9ae4..3551d61 100755 --- a/Assets/jelycho/Code/Player/PlayerActor.cs +++ b/Assets/jelycho/Code/Player/PlayerActor.cs @@ -854,18 +854,11 @@ namespace RebootReality.jelycho.Player { m_CharacterTurnVelocity = rotateCharacterSpeed * dt; m_CharacterTurnVelocitySmooth = m_CharacterTurnVelocity; - // var newForward = Vector3.RotateTowards(currentCharacterForward, - // targetCharacterForward, - // math.radians(m_CharacterTurnVelocity), - // 0.0f); - // m_CharacterForwardTransform.forward = newForward; - - float newYaw = Mathf.MoveTowardsAngle(m_Locomotion.YawRotation, - m_Camera.Yaw, - m_CharacterTurnVelocity); - newYaw = m_Camera.Yaw; - // s_Logger.Info($"YAW: {newYaw}"); - m_Locomotion.YawRotation = newYaw; + var newForward = Vector3.RotateTowards(currentCharacterForward, + targetCharacterForward, + math.radians(m_CharacterTurnVelocity), + 0.0f); + m_CharacterForwardTransform.forward = newForward; } // Aim Target adjustment