로그 제거
This commit is contained in:
parent
d0a8d3fa7f
commit
7527f36390
@ -153,7 +153,6 @@ public class VoyagePlayerShipMovementVisual : MonoBehaviour
|
|||||||
float deltaRotation = Mathf.DeltaAngle(lastRotationY, transform.eulerAngles.y);
|
float deltaRotation = Mathf.DeltaAngle(lastRotationY, transform.eulerAngles.y);
|
||||||
currentAngularVelocity = deltaRotation / Time.fixedDeltaTime;
|
currentAngularVelocity = deltaRotation / Time.fixedDeltaTime;
|
||||||
float desiredYaw = currentAngularVelocity / angularVelocityToYaw;
|
float desiredYaw = currentAngularVelocity / angularVelocityToYaw;
|
||||||
Debug.Log(desiredYaw);
|
|
||||||
// get smoothed yaw
|
// get smoothed yaw
|
||||||
desiredWorldYaw = Mathf.SmoothDampAngle(desiredWorldYaw, desiredYaw, ref rotationVelocity, yawRotationSmoothTime);
|
desiredWorldYaw = Mathf.SmoothDampAngle(desiredWorldYaw, desiredYaw, ref rotationVelocity, yawRotationSmoothTime);
|
||||||
// desiredWorldYaw = desiredYaw;
|
// desiredWorldYaw = desiredYaw;
|
||||||
|
Loading…
Reference in New Issue
Block a user