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; }