From 892787c32d8be527369cfe921849a4f5090bf9d7 Mon Sep 17 00:00:00 2001 From: minenice55 Date: Tue, 31 Jan 2023 23:46:10 -0500 Subject: [PATCH] add easing to forthington movement --- Assets/Scripts/Games/AirRally/AirRally.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Assets/Scripts/Games/AirRally/AirRally.cs b/Assets/Scripts/Games/AirRally/AirRally.cs index 0d372c257..8ac62363e 100644 --- a/Assets/Scripts/Games/AirRally/AirRally.cs +++ b/Assets/Scripts/Games/AirRally/AirRally.cs @@ -136,12 +136,8 @@ namespace HeavenStudio.Games if(lengthHolder != lengthShown) { started = true; - //convert to 2 decimal places var f = currentBeat; - //f = Mathf.Round(f * 10.0f) * 0.1f; Rally(serveBeat + (int)f, wantSilent, lengthHolder); - //Debug.Log("Beat Loop: " + serveBeat + f); - //Debug.Log("Serve Beat: " + serveBeat); } } } @@ -302,7 +298,7 @@ namespace HeavenStudio.Games } else { - tweenForForth = Forthington.gameObject.transform.DOMoveZ(wayPointZForForth, .15f); + tweenForForth = Forthington.gameObject.transform.DOMoveZ(wayPointZForForth, .15f).SetEase(Ease.InOutCubic); } }