public abstract class RagdollPreset
extends java.lang.Object
| Modifier and Type | Class and Description | 
|---|---|
protected class  | 
RagdollPreset.JointPreset
Range of motion for a joint. 
 | 
protected class  | 
RagdollPreset.LexiconEntry
One entry in a bone lexicon. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
protected java.util.Map<java.lang.String,RagdollPreset.JointPreset> | 
boneMap
map bone names to joint presets 
 | 
protected java.util.Map<java.lang.String,RagdollPreset.LexiconEntry> | 
lexicon
lexicon to map bone names to entries 
 | 
protected static java.util.logging.Logger | 
logger
message logger for this class 
 | 
| Constructor and Description | 
|---|
RagdollPreset()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected abstract void | 
initBoneMap()
Initialize the map from bone names to joint presets. 
 | 
protected abstract void | 
initLexicon()
Initialize the lexicon. 
 | 
void | 
setupJointForBone(java.lang.String boneName,
                 SixDofJoint joint)
Apply the preset for the named bone to the specified joint. 
 | 
protected static final java.util.logging.Logger logger
protected java.util.Map<java.lang.String,RagdollPreset.JointPreset> boneMap
protected java.util.Map<java.lang.String,RagdollPreset.LexiconEntry> lexicon
protected abstract void initBoneMap()
protected abstract void initLexicon()
public void setupJointForBone(java.lang.String boneName,
                              SixDofJoint joint)
boneName - namejoint - where to apply the preset (not null, modified)