From e75e412d107c407494537903efb49462c9905c24 Mon Sep 17 00:00:00 2001 From: Pascal Serrarens Date: Tue, 30 Sep 2025 12:46:22 +0200 Subject: [PATCH] Fix hand going Non-Kinematic when only hand.physics is false and humaonid.physics is true --- .../HumanoidControl/Scripts/Interaction/HandInteraction.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Runtime/HumanoidControl/Scripts/Interaction/HandInteraction.cs b/Runtime/HumanoidControl/Scripts/Interaction/HandInteraction.cs index 7de4b33..6166300 100644 --- a/Runtime/HumanoidControl/Scripts/Interaction/HandInteraction.cs +++ b/Runtime/HumanoidControl/Scripts/Interaction/HandInteraction.cs @@ -455,7 +455,7 @@ namespace Passer.Humanoid { AddTrackedRigidbody(trackedRigidbody); } - if (humanoid.physics && grabbedRigidbody) + if (this.physics && grabbedRigidbody) AdvancedHandPhysics.SetNonKinematic(handRigidbody, colliders); // This does not work in the editor, so controller input cannot be set this way @@ -796,7 +796,7 @@ namespace Passer.Humanoid { Object.DontDestroyOnLoad(grabbedObject); } - if (humanoid.physics) + if (this.physics) AdvancedHandPhysics.SetNonKinematic(handRigidbody, colliders); if (grabbedRigidbody)