tet commit

This commit is contained in:
2025-09-28 21:02:32 +02:00
parent 59d521afaf
commit d9cf8507d0
2 changed files with 6 additions and 13 deletions

2
.gitmodules vendored
View File

@@ -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

View File

@@ -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