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

  /external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/ragdoll/
RagdollUtils.java 156 public static HullCollisionShape makeShapeFromVerticeWeights(Spatial model, List<Integer> boneIndices, Vector3f initialScale, Vector3f initialPosition, float weightThreshold) {
162 points.addAll(getPoints(g.getMesh(), index, initialScale, initialPosition, weightThreshold));
170 points.addAll(getPoints(g.getMesh(), index, initialScale, initialPosition, weightThreshold));
193 private static List<Float> getPoints(Mesh mesh, int boneIndex, Vector3f initialScale, Vector3f offset, float weightThreshold) {
212 if (boneIndices.get(k) == boneIndex && boneWeight.get(k) >= weightThreshold) {
  /external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/
KinematicRagdollControl.java 105 protected float weightThreshold = -1.0f;
144 public KinematicRagdollControl(float weightThreshold) {
145 this.weightThreshold = weightThreshold;
148 public KinematicRagdollControl(RagdollPreset preset, float weightThreshold) {
150 this.weightThreshold = weightThreshold;
356 if (weightThreshold == -1.0f) {
387 shape = RagdollUtils.makeShapeFromVerticeWeights(model, RagdollUtils.getBoneIndices(link.bone, skeleton, boneList), initScale, link.bone.getModelSpacePosition(), weightThreshold);
790 return weightThreshold;
    [all...]

Completed in 130 milliseconds