This commit is contained in:
Snorre 2025-04-05 19:03:13 +02:00
parent b4b989f5f7
commit d696d51540

View file

@ -61,9 +61,9 @@ public partial class XRHand : XRController3D
PinJoint3D joint2 = new(); PinJoint3D joint2 = new();
joint2.NodeB = body.GetPath(); joint2.NodeB = body.GetPath();
joint2.NodeA = rb.GetPath(); joint2.NodeA = rb.GetPath();
joints.Add(joint); joints.Add(joint2);
body.AddChild(joint); body.AddChild(joint2);
joint.Position = Vector3.Zero; joint2.Position = Vector3.Zero;
} }
} }
} }