Fix player jitter on moving platforms

This commit is contained in:
2026-03-17 22:28:39 +01:00
parent 0355b049ff
commit 758a1d420c
22 changed files with 2351 additions and 603 deletions

View File

@@ -4,6 +4,7 @@
/// Procedural platform animation supporting translation, rotation, and scaling.
/// Supports multiple animation types (Constant, PingPong, Loop, Single) with easing.
/// </summary>
[DefaultExecutionOrder(0)]
public class ProceduralAnimator : MonoBehaviour
{
public enum AnimationSpace
@@ -89,7 +90,7 @@ public class ProceduralAnimator : MonoBehaviour
_state.IsFinished = false;
}
void LateUpdate()
void Update()
{
if (_state.IsFinished)
return;