public class HumanoidFigure
extends org.appdapter.core.log.BasicDebugger
implements com.jme3.bullet.collision.RagdollCollisionListener, com.jme3.animation.AnimEventListener
| Modifier and Type | Field and Description |
|---|---|
static String |
SKEL_DEBUG_NAME |
| Constructor and Description |
|---|
HumanoidFigure(HumanoidFigureConfig hfc) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyFigureState_onSceneThread(FigureState fs) |
protected void |
attachRagdollBone(FigureBoneDesc hbd) |
void |
attachRagdollBones() |
protected void |
becomeFloppyRagdoll() |
protected void |
becomeKinematicPuppet() |
void |
collide(com.jme3.animation.Bone bone,
com.jme3.bullet.collision.PhysicsCollisionObject pco,
com.jme3.bullet.collision.PhysicsCollisionEvent pce) |
void |
detachFromVirtualWorld(com.jme3.scene.Node parentNode,
com.jme3.bullet.PhysicsSpace ps) |
com.jme3.scene.Node |
getBoneAttachmentsNode(String boneName) |
protected org.appdapter.core.name.Ident |
getCharIdent() |
protected com.jme3.animation.AnimChannel |
getFigureAnimChannel() |
protected com.jme3.animation.Bone |
getFigureBone(String boneName) |
protected HumanoidFigureConfig |
getFigureConfig() |
protected com.jme3.scene.Node |
getFigureNode() |
protected com.jme3.animation.Bone |
getFigureRootBone() |
FigureState |
getFigureState() |
protected FigureBoneConfig |
getHBConfig() |
HumanoidFigureModule |
getModule() |
protected String |
getNickname() |
com.jme3.scene.Node |
getNode() |
protected HumanoidRagdollControl |
getRagdollControl() |
void |
initDebugSkeleton(com.jme3.asset.AssetManager assetMgr) |
boolean |
loadMeshAndSkeletonIntoVWorld(com.jme3.asset.AssetManager assetMgr,
com.jme3.scene.Node parentNode,
com.jme3.bullet.PhysicsSpace ps) |
protected void |
movePosition_onSceneThread(float deltaX,
float deltaY,
float deltaZ) |
protected void |
moveToPosition_onSceneThread(com.jme3.math.Vector3f pos) |
void |
onAnimChange(com.jme3.animation.AnimControl control,
com.jme3.animation.AnimChannel channel,
String animName) |
void |
onAnimCycleDone(com.jme3.animation.AnimControl control,
com.jme3.animation.AnimChannel channel,
String animName) |
void |
setFigureState(FigureState fs) |
void |
setModule(HumanoidFigureModule module) |
void |
toggleDebugSkeleton_onSceneThread() |
checkDebugImportance, forceLog4jConfig, getLogger, getLoggerForClass, isLoggerUsable, logDebug, logError, logError, logInfo, logInfo, logInfoEvent, logWarning, logWarning, logWithException, setDebugImportanceThreshold, setLogger, useLoggerForClasspublic static String SKEL_DEBUG_NAME
public HumanoidFigure(HumanoidFigureConfig hfc)
protected com.jme3.scene.Node getFigureNode()
protected HumanoidFigureConfig getFigureConfig()
protected com.jme3.animation.AnimChannel getFigureAnimChannel()
protected HumanoidRagdollControl getRagdollControl()
protected org.appdapter.core.name.Ident getCharIdent()
protected String getNickname()
protected FigureBoneConfig getHBConfig()
protected com.jme3.animation.Bone getFigureBone(String boneName)
protected com.jme3.animation.Bone getFigureRootBone()
public HumanoidFigureModule getModule()
public void setModule(HumanoidFigureModule module)
public boolean loadMeshAndSkeletonIntoVWorld(com.jme3.asset.AssetManager assetMgr,
com.jme3.scene.Node parentNode,
com.jme3.bullet.PhysicsSpace ps)
public void detachFromVirtualWorld(com.jme3.scene.Node parentNode,
com.jme3.bullet.PhysicsSpace ps)
protected void becomeKinematicPuppet()
protected void becomeFloppyRagdoll()
protected void moveToPosition_onSceneThread(com.jme3.math.Vector3f pos)
protected void movePosition_onSceneThread(float deltaX,
float deltaY,
float deltaZ)
public com.jme3.scene.Node getNode()
public void collide(com.jme3.animation.Bone bone,
com.jme3.bullet.collision.PhysicsCollisionObject pco,
com.jme3.bullet.collision.PhysicsCollisionEvent pce)
collide in interface com.jme3.bullet.collision.RagdollCollisionListenerpublic void onAnimCycleDone(com.jme3.animation.AnimControl control,
com.jme3.animation.AnimChannel channel,
String animName)
onAnimCycleDone in interface com.jme3.animation.AnimEventListenerpublic void onAnimChange(com.jme3.animation.AnimControl control,
com.jme3.animation.AnimChannel channel,
String animName)
onAnimChange in interface com.jme3.animation.AnimEventListenerpublic void initDebugSkeleton(com.jme3.asset.AssetManager assetMgr)
public void toggleDebugSkeleton_onSceneThread()
protected void attachRagdollBone(FigureBoneDesc hbd)
public FigureState getFigureState()
public void setFigureState(FigureState fs)
public void applyFigureState_onSceneThread(FigureState fs)
public void attachRagdollBones()
public com.jme3.scene.Node getBoneAttachmentsNode(String boneName)
Copyright © 2010-2015. All Rights Reserved.