From f46f2bc9137ba0d3ce36c07c5772039d80f07c64 Mon Sep 17 00:00:00 2001 From: Louka Date: Mon, 22 Nov 2021 22:48:43 -0500 Subject: [PATCH] Tries to get the waist first for the rotation node for Autobone When you want the rotation node, it should give the node that has the rotation that affects the bone you want --- src/main/java/dev/slimevr/autobone/SimpleSkeleton.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/dev/slimevr/autobone/SimpleSkeleton.java b/src/main/java/dev/slimevr/autobone/SimpleSkeleton.java index c15585c8f..0df9cb5a2 100644 --- a/src/main/java/dev/slimevr/autobone/SimpleSkeleton.java +++ b/src/main/java/dev/slimevr/autobone/SimpleSkeleton.java @@ -324,7 +324,7 @@ public class SimpleSkeleton { case WAIST: return rotationNode ? chestNode : waistNode; case HIP: - return rotationNode ? hipNode : waistNode; //TODO check, need 3? + return rotationNode ? waistNode : hipNode; case LEFT_LEG: return rotationNode ? leftHipNode : leftKneeNode;