Package com.jme3.bullet.control
Class KinematicRagdollControl.PhysicsBoneLink
java.lang.Object
com.jme3.bullet.control.KinematicRagdollControl.PhysicsBoneLink
- All Implemented Interfaces:
- Savable
- Enclosing class:
- KinematicRagdollControl
Link a bone to a jointed rigid body.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected Boneprotected Quaternionprotected SixDofJointprotected PhysicsRigidBodyprotected Vector3fprotected Quaternion
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetBone()Access the linked bone.Access the linked body.voidread(JmeImporter im) De-serialize this bone link, for example when loading from a J3O file.voidwrite(JmeExporter ex) Serialize this bone link, for example when saving to a J3O file.
- 
Field Details- 
rigidBody
- 
bone
- 
joint
- 
initalWorldRotation
- 
startBlendingRot
- 
startBlendingPos
 
- 
- 
Constructor Details- 
PhysicsBoneLinkpublic PhysicsBoneLink()Instantiate an uninitialized link.
 
- 
- 
Method Details- 
getBoneAccess the linked bone.- Returns:
- the pre-existing instance or null
 
- 
getRigidBodyAccess the linked body.- Returns:
- the pre-existing instance or null
 
- 
writeSerialize this bone link, for example when saving to a J3O file.- Specified by:
- writein interface- Savable
- Parameters:
- ex- exporter (not null)
- Throws:
- IOException- from exporter
 
- 
readDe-serialize this bone link, for example when loading from a J3O file.- Specified by:
- readin interface- Savable
- Parameters:
- im- importer (not null)
- Throws:
- IOException- from importer
 
 
-