Package com.jme3.bullet.control.ragdoll
Class RagdollPreset
java.lang.Object
com.jme3.bullet.control.ragdoll.RagdollPreset
- Direct Known Subclasses:
- HumanoidRagdollPreset
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprotected classRange of motion for a joint.protected classOne entry in a bone lexicon.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected Map<String,RagdollPreset.JointPreset> map bone names to joint presetsprotected Map<String,RagdollPreset.LexiconEntry> lexicon to map bone names to entriesprotected static final Loggermessage logger for this class
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected abstract voidInitialize the map from bone names to joint presets.protected abstract voidInitialize the lexicon.voidsetupJointForBone(String boneName, SixDofJoint joint) Apply the preset for the named bone to the specified joint.
- 
Field Details- 
loggermessage logger for this class
- 
boneMapmap bone names to joint presets
- 
lexiconlexicon to map bone names to entries
 
- 
- 
Constructor Details- 
RagdollPresetpublic RagdollPreset()
 
- 
- 
Method Details- 
initBoneMapprotected abstract void initBoneMap()Initialize the map from bone names to joint presets.
- 
initLexiconprotected abstract void initLexicon()Initialize the lexicon.
- 
setupJointForBoneApply the preset for the named bone to the specified joint.- Parameters:
- boneName- name
- joint- where to apply the preset (not null, modified)
 
 
-