tet commit
This commit is contained in:
2
.gitmodules
vendored
2
.gitmodules
vendored
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user