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
This commit is contained in:
Louka committed 2021-11-22 22:48:43 -05:00
1 parent 77f048c48e
commit f46f2bc913
1 file changed
+1 -1
@@ -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;