Package com.jme3.bullet.control.ragdoll
Class RagdollPreset.JointPreset
java.lang.Object
com.jme3.bullet.control.ragdoll.RagdollPreset.JointPreset
- Enclosing class:
 - RagdollPreset
 
Range of motion for a joint.
- 
Constructor Summary
ConstructorsConstructorDescriptionInstantiate a preset with no motion allowed.JointPreset(float maxX, float minX, float maxY, float minY, float maxZ, float minZ) Instantiate a preset with the specified range of motion. - 
Method Summary
Modifier and TypeMethodDescriptionvoidsetupJoint(SixDofJoint joint) Apply this preset to the specified joint. 
- 
Constructor Details
- 
JointPreset
public JointPreset()Instantiate a preset with no motion allowed. - 
JointPreset
public JointPreset(float maxX, float minX, float maxY, float minY, float maxZ, float minZ) Instantiate a preset with the specified range of motion.- Parameters:
 maxX- the maximum rotation on the X axis (in radians)minX- the minimum rotation on the X axis (in radians)maxY- the maximum rotation on the Y axis (in radians)minY- the minimum rotation on the Y axis (in radians)maxZ- the maximum rotation on the Z axis (in radians)minZ- the minimum rotation on the Z axis (in radians)
 
 - 
 - 
Method Details
- 
setupJoint
Apply this preset to the specified joint.- Parameters:
 joint- where to apply (not null, modified)
 
 -