diff --git a/Assets/Scripts/ShipMoveSides.cs b/Assets/Scripts/ShipMoveSides.cs index 6b476bdf..f13c2557 100644 --- a/Assets/Scripts/ShipMoveSides.cs +++ b/Assets/Scripts/ShipMoveSides.cs @@ -54,8 +54,8 @@ public class ShipMoveSides : MonoBehaviour var newPos = transform.localPosition; newPos.x = 0; - transform.localPosition = Vector3.Lerp(transform.localPosition, newPos, Time.deltaTime * MaxRollSpeed * _pathFollower.SpeedPercent); - transform.localRotation = Quaternion.Euler(new Vector3(0, 0, _value * -MaxRollAngle * _pathFollower.SpeedPercent)); + transform.localPosition = Vector3.Lerp(transform.localPosition, newPos, Time.deltaTime * MaxRollSpeed);//* _pathFollower.SpeedPercent); + transform.localRotation = Quaternion.Euler(new Vector3(0, 0, _value * -MaxRollAngle));// * _pathFollower.SpeedPercent)); } public void ChangeRollSpeed(float val)