From 870b5a5546f57cdf8e61fcfef67a2efdd86121c4 Mon Sep 17 00:00:00 2001 From: Pascal Serrarens Date: Fri, 24 Feb 2023 15:58:06 +0100 Subject: [PATCH] Changed accessibility --- Runtime/HumanoidControl/Scripts/Movements/LegMovements.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/HumanoidControl/Scripts/Movements/LegMovements.cs b/Runtime/HumanoidControl/Scripts/Movements/LegMovements.cs index b1fdc6f..af60fa1 100644 --- a/Runtime/HumanoidControl/Scripts/Movements/LegMovements.cs +++ b/Runtime/HumanoidControl/Scripts/Movements/LegMovements.cs @@ -225,7 +225,7 @@ namespace Passer.Humanoid { return footPosition; } - private static void PlaceFootOnLowerLeg(FootTarget footTarget, Quaternion lowerLegRotation) { + public static void PlaceFootOnLowerLeg(FootTarget footTarget, Quaternion lowerLegRotation) { footTarget.foot.bone.transform.position = footTarget.lowerLeg.bone.transform.position + lowerLegRotation * -footTarget.humanoid.up * footTarget.lowerLeg.bone.length; }