public class BoneLink extends PhysicsLink
This class is shared between JBullet and Native Bullet.
| Modifier and Type | Field and Description | 
|---|---|
static java.util.logging.Logger | 
logger2
message logger for this class 
 | 
logger| Modifier | Constructor and Description | 
|---|---|
protected  | 
BoneLink()
No-argument constructor needed by SavableClassUtil. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
blendToKinematicMode(KinematicSubmode submode,
                    float blendInterval)
Begin blending this link to a purely kinematic mode. 
 | 
void | 
cloneFields(Cloner cloner,
           java.lang.Object original)
Callback from  
Cloner to convert this
 shallow-cloned link into a deep-cloned one, using the specified cloner
 and original to resolve copied fields. | 
protected void | 
dynamicUpdate()
Update this link in Dynamic mode, setting the linked bone's transform
 based on the transform of the rigid body. 
 | 
BoneLink | 
jmeClone()
Create a shallow clone for the JME cloner. 
 | 
protected void | 
kinematicUpdate(float tpf)
Update this link in blended Kinematic mode. 
 | 
java.lang.String | 
name()
Unambiguously identify this link by name, within its DynamicAnimControl. 
 | 
void | 
read(JmeImporter im)
De-serialize this link, for example when loading from a J3O file. 
 | 
void | 
setDynamic(Vector3f uniformAcceleration)
Immediately put this link into dynamic mode and update the range of
 motion of its joint. 
 | 
void | 
write(JmeExporter ex)
Serialize this link, for example when saving to a J3O file. 
 | 
blendToKinematicMode, boneName, countChildren, getBone, getControl, getJoint, getParent, getRigidBody, isKinematic, kinematicWeight, listChildren, localOffset, physicsTransform, setJoint, setParent, setRigidBodypublic static final java.util.logging.Logger logger2
protected BoneLink()
public void blendToKinematicMode(KinematicSubmode submode, float blendInterval)
submode - enum value (not null)blendInterval - the duration of the blend interval (in seconds,
 ≥0)public void cloneFields(Cloner cloner, java.lang.Object original)
Cloner to convert this
 shallow-cloned link into a deep-cloned one, using the specified cloner
 and original to resolve copied fields.cloneFields in interface JmeCloneablecloneFields in class PhysicsLinkcloner - the cloner that's cloning this link (not null)original - the instance from which this link was shallow-cloned
 (unused)protected void dynamicUpdate()
dynamicUpdate in class PhysicsLinkpublic BoneLink jmeClone()
jmeClone in interface JmeCloneablejmeClone in class PhysicsLinkprotected void kinematicUpdate(float tpf)
kinematicUpdate in class PhysicsLinktpf - the time interval between frames (in seconds, ≥0)public java.lang.String name()
name in class PhysicsLinkpublic void read(JmeImporter im) throws java.io.IOException
read in interface Savableread in class PhysicsLinkim - importer (not null)java.io.IOException - from importerpublic void setDynamic(Vector3f uniformAcceleration)
setDynamic in class PhysicsLinkuniformAcceleration - the uniform acceleration vector (in
 physics-space coordinates, not null, unaffected)public void write(JmeExporter ex) throws java.io.IOException
write in interface Savablewrite in class PhysicsLinkex - exporter (not null)java.io.IOException - from exporter