public class KinematicRagdollControl.PhysicsBoneLink extends java.lang.Object implements Savable
Modifier and Type | Field and Description |
---|---|
protected Bone |
bone |
protected Quaternion |
initalWorldRotation |
protected SixDofJoint |
joint |
protected PhysicsRigidBody |
rigidBody |
protected Vector3f |
startBlendingPos |
protected Quaternion |
startBlendingRot |
Constructor and Description |
---|
PhysicsBoneLink()
Instantiate an uninitialized link.
|
Modifier and Type | Method and Description |
---|---|
Bone |
getBone()
Access the linked bone.
|
PhysicsRigidBody |
getRigidBody()
Access the linked body.
|
void |
read(JmeImporter im)
De-serialize this bone link, for example when loading from a J3O
file.
|
void |
write(JmeExporter ex)
Serialize this bone link, for example when saving to a J3O file.
|
protected PhysicsRigidBody rigidBody
protected Bone bone
protected SixDofJoint joint
protected Quaternion initalWorldRotation
protected Quaternion startBlendingRot
protected Vector3f startBlendingPos
public Bone getBone()
public PhysicsRigidBody getRigidBody()
public void write(JmeExporter ex) throws java.io.IOException
public void read(JmeImporter im) throws java.io.IOException