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

@@ -30,7 +30,7 @@ public class FallingPlatform : MonoBehaviour
void OnTriggerEnter(Collider col)
{
if (Player.Owner && Player.Owner.gameObject == col.gameObject)
if (Player.Instance && Player.Instance.gameObject == col.gameObject)
{
Fall();
}