Class RagdollPreset

java.lang.Object
com.jme3.bullet.control.ragdoll.RagdollPreset
Direct Known Subclasses:
HumanoidRagdollPreset

public abstract class RagdollPreset extends Object
  • Field Details

  • Constructor Details

    • RagdollPreset

      public RagdollPreset()
  • Method Details

    • initBoneMap

      protected abstract void initBoneMap()
      Initialize the map from bone names to joint presets.
    • initLexicon

      protected abstract void initLexicon()
      Initialize the lexicon.
    • setupJointForBone

      public void setupJointForBone(String boneName, SixDofJoint joint)
      Apply the preset for the named bone to the specified joint.
      Parameters:
      boneName - name
      joint - where to apply the preset (not null, modified)