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