TestBoneRagdoll.java | 73 KinematicRagdollControl ragdoll; field in class:TestBoneRagdoll 119 ragdoll = new KinematicRagdollControl(0.5f); 120 setupSinbad(ragdoll); 121 ragdoll.addCollisionListener(this); 122 model.addControl(ragdoll); 125 ragdoll.setJointLimit("Waist", eighth_pi, eighth_pi, eighth_pi, eighth_pi, eighth_pi, eighth_pi); 126 ragdoll.setJointLimit("Chest", eighth_pi, eighth_pi, 0, 0, eighth_pi, eighth_pi); 130 // ragdoll.setJointLimit("head", 0, 0, eighth_pi, -eighth_pi, 0, 0); 132 getPhysicsSpace().add(ragdoll); 160 ragdoll.blendToKinematicMode(0.5f) [all...] |