diff --git a/godot/TAS_system/TASable.cs b/godot/TAS_system/TASable.cs index 046332b..c76c15e 100644 --- a/godot/TAS_system/TASable.cs +++ b/godot/TAS_system/TASable.cs @@ -2,6 +2,7 @@ using Godot; using System; using System.Collections.Generic; using System.Globalization; +using System.Threading; public partial class TASable : Node { @@ -38,6 +39,11 @@ public partial class TASable : Node public override void _Ready() { + if (this._assignedRigidBody3D is null) + { + this._assignedRigidBody3D = this.GetParent(); + } + TAS_System TAS = GetNode("/root/TAS_System"); TAS.FrameIncremented += this.OnFrameIncremented;