org.cogchar.render.model.humanoid
Class HumanoidRagdollControl

java.lang.Object
  extended by com.jme3.bullet.control.KinematicRagdollControl
      extended by org.cogchar.render.model.humanoid.HumanoidRagdollControl
All Implemented Interfaces:
com.jme3.bullet.collision.PhysicsCollisionListener, com.jme3.bullet.control.PhysicsControl, com.jme3.export.Savable, com.jme3.scene.control.Control

public class HumanoidRagdollControl
extends com.jme3.bullet.control.KinematicRagdollControl

Author:
Stu B.

Nested Class Summary
 
Nested classes/interfaces inherited from class com.jme3.bullet.control.KinematicRagdollControl
com.jme3.bullet.control.KinematicRagdollControl.Mode, com.jme3.bullet.control.KinematicRagdollControl.PhysicsBoneLink
 
Field Summary
 
Fields inherited from class com.jme3.bullet.control.KinematicRagdollControl
added, baseRigidBody, blendedControl, blendStart, blendTime, boneLinks, boneList, debug, enabled, eventDispatchImpulseThreshold, initScale, listeners, logger, mode, modelPosition, modelRotation, preset, rootMass, skeleton, space, targetModel, totalMass, weightThreshold
 
Constructor Summary
HumanoidRagdollControl(float weightThreshold)
           
 
Method Summary
 void blendToKinematicMode(float blendTime)
           
 void collision(com.jme3.bullet.collision.PhysicsCollisionEvent event)
           
 com.jme3.bullet.control.KinematicRagdollControl.Mode getMode()
           
 void setKinematicMode()
           
protected  void setMode(com.jme3.bullet.control.KinematicRagdollControl.Mode mode)
           
 void setRagdollMode()
           
 void update(float tpf)
           
 
Methods inherited from class com.jme3.bullet.control.KinematicRagdollControl
addBoneName, addCollisionListener, attachDebugShape, cloneForSpatial, detachDebugShape, getBoneRigidBody, getEventDispatchImpulseThreshold, getJoint, getPhysicsSpace, getTotalMass, getWeightThreshold, isEnabled, read, reBuild, removeFromPhysicsSpace, render, setCcdMotionThreshold, setCcdSweptSphereRadius, setEnabled, setEventDispatchImpulseThreshold, setJointLimit, setPhysicsSpace, setRootMass, setSpatial, setWeightThreshold, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HumanoidRagdollControl

public HumanoidRagdollControl(float weightThreshold)
Method Detail

getMode

public com.jme3.bullet.control.KinematicRagdollControl.Mode getMode()
Overrides:
getMode in class com.jme3.bullet.control.KinematicRagdollControl

setKinematicMode

public void setKinematicMode()
Overrides:
setKinematicMode in class com.jme3.bullet.control.KinematicRagdollControl

setMode

protected void setMode(com.jme3.bullet.control.KinematicRagdollControl.Mode mode)
Overrides:
setMode in class com.jme3.bullet.control.KinematicRagdollControl

setRagdollMode

public void setRagdollMode()
Overrides:
setRagdollMode in class com.jme3.bullet.control.KinematicRagdollControl

update

public void update(float tpf)
Specified by:
update in interface com.jme3.scene.control.Control
Overrides:
update in class com.jme3.bullet.control.KinematicRagdollControl

blendToKinematicMode

public void blendToKinematicMode(float blendTime)
Overrides:
blendToKinematicMode in class com.jme3.bullet.control.KinematicRagdollControl

collision

public void collision(com.jme3.bullet.collision.PhysicsCollisionEvent event)
Specified by:
collision in interface com.jme3.bullet.collision.PhysicsCollisionListener
Overrides:
collision in class com.jme3.bullet.control.KinematicRagdollControl


Copyright © 2010-2014. All Rights Reserved.