Compare commits

...

2 Commits

Author SHA1 Message Date
Jeonghyeon Ha
e624d5db8e 프리팹 수정 2025-07-25 13:51:50 +09:00
Jeonghyeon Ha
7527f36390 로그 제거 2025-07-25 13:51:43 +09:00
2 changed files with 2 additions and 3 deletions

View File

@ -283,7 +283,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!4 &3836667616183644780
Transform:
m_ObjectHideFlags: 0
@ -318,7 +318,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!4 &2507610487897935131
Transform:
m_ObjectHideFlags: 0

View File

@ -153,7 +153,6 @@ public class VoyagePlayerShipMovementVisual : MonoBehaviour
float deltaRotation = Mathf.DeltaAngle(lastRotationY, transform.eulerAngles.y);
currentAngularVelocity = deltaRotation / Time.fixedDeltaTime;
float desiredYaw = currentAngularVelocity / angularVelocityToYaw;
Debug.Log(desiredYaw);
// get smoothed yaw
desiredWorldYaw = Mathf.SmoothDampAngle(desiredWorldYaw, desiredYaw, ref rotationVelocity, yawRotationSmoothTime);
// desiredWorldYaw = desiredYaw;