Forráskód Böngészése

Fix leg dragpoint not functioning properly

Leg dragpoint requires thigh transform to move leg freely without being
restricted to just the foot and calf
habeebweeb 4 éve
szülő
commit
54d066cc5a

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Meido/IK/DragPointChain.cs

@@ -27,7 +27,7 @@ namespace COM3D2.MeidoPhotoStudio.Plugin
                 lower.parent,
                 lower
             };
-            if (lower.name.EndsWith("Hand")) ikChain[0] = ikChain[0].parent;
+            if (this.isLower) ikChain[0] = ikChain[0].parent;
         }
 
         private void InitializeRotation()