HomeSort by relevance Sort by last modified time
    Searched refs:boneList (Results 1 - 3 of 3) sorted by null

  /external/jmonkeyengine/engine/src/core/com/jme3/animation/
Skeleton.java 51 private Bone[] boneList;
66 * @param boneList The list of bones to manage by this Skeleton
68 public Skeleton(Bone[] boneList) {
69 this.boneList = boneList;
72 for (int i = boneList.length - 1; i >= 0; i--) {
73 Bone b = boneList[i];
98 Bone[] sourceList = source.boneList;
99 boneList = new Bone[sourceList.length];
101 boneList[i] = new Bone(sourceList[i])
    [all...]
  /external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/ragdoll/
RagdollUtils.java 133 //retruns the list of bone indices of the given bone and its child(if they are not in the boneList)
134 public static List<Integer> getBoneIndices(Bone bone, Skeleton skeleton, Set<String> boneList) {
136 if (boneList.isEmpty()) {
141 if (!boneList.contains(chilBone.getName())) {
142 list.addAll(getBoneIndices(chilBone, skeleton, boneList));
242 public static void setTransform(Bone bone, Vector3f pos, Quaternion rot, boolean restoreBoneControl, Set<String> boneList) {
251 if (!boneList.contains(childBone.getName())) {
253 setTransform(childBone, t.getTranslation(), t.getRotation(), restoreBoneControl, boneList);
  /external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/
KinematicRagdollControl.java 115 protected Set<String> boneList = new TreeSet<String>();
204 //if boneList is empty, this means that every bone in the ragdoll has a collision shape,
206 if (boneList.isEmpty()) {
209 //boneList is not empty, this means some bones of the skeleton might not be associated with a collision shape.
211 RagdollUtils.setTransform(link.bone, position, tmpRot1, false, boneList);
236 if (boneList.isEmpty()) {
243 RagdollUtils.setTransform(link.bone, position, tmpRot1, true, boneList);
350 boneList.add(name);
375 if (boneList.isEmpty() || boneList.contains(bone.getName()))
    [all...]

Completed in 3161 milliseconds