- set kinematic mode to ragdoll parts when control is disabled

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7228 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 14 years ago
parent 75d0c560bf
commit 666a800ecd
  1. 1
      engine/src/jbullet/com/jme3/bullet/control/RagdollControl.java

@ -530,6 +530,7 @@ public class RagdollControl implements PhysicsControl, PhysicsCollisionListener
this.control = control;
for (PhysicsBoneLink link : boneLinks.values()) {
link.bone.setUserControl(control);
link.rigidBody.setKinematic(!control);
}
}

Loading…
Cancel
Save