From 451af25a52369473b3283bbf8ed5e22377b6c78a Mon Sep 17 00:00:00 2001 From: freezy Date: Mon, 13 Jan 2025 23:48:27 +0100 Subject: [PATCH] fix: Remove unused method. --- .../VPT/Flipper/FlipperComponent.cs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/VisualPinball.Unity/VisualPinball.Unity/VPT/Flipper/FlipperComponent.cs b/VisualPinball.Unity/VisualPinball.Unity/VPT/Flipper/FlipperComponent.cs index 74e187a49..e4cfbb727 100644 --- a/VisualPinball.Unity/VisualPinball.Unity/VPT/Flipper/FlipperComponent.cs +++ b/VisualPinball.Unity/VisualPinball.Unity/VPT/Flipper/FlipperComponent.cs @@ -189,18 +189,6 @@ public float2 RotatedPosition { } } - /// - /// Returns the current position of the flipper between 0 and 1, where 0 is the - /// start position, and 1 the end position. - /// - public float RotatePosition { - get { - var start = (_startAngle + 360) % 360; - var end = (EndAngle + 360) % 360; - return 1 - (transform.localEulerAngles.y - start) / (end - start); - } - } - #endregion #region Conversion