public class MoveBehaviour extends AbstractStrengthSteeringBehaviour
AbstractStrengthSteeringBehaviour.negativeScalarMultiplierAbstractSteeringBehaviour.IllegalBrakingFactorBehaviour.behaviourNullAgentException| Modifier and Type | Field and Description | 
|---|---|
protected com.jme3.math.Vector3f | 
moveDirection
Move direction of agent. 
 | 
velocity| Constructor and Description | 
|---|
MoveBehaviour(Agent agent)  | 
MoveBehaviour(Agent agent,
             com.jme3.scene.Spatial spatial)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected com.jme3.math.Vector3f | 
calculateFullSteering()
If a bheaviour class extend from CompoundSteeringBehaviour instead
 of AbstractSteeringBehaviout, It must implement this method instead of
 calculateSteering(). 
 | 
protected void | 
controlRender(com.jme3.renderer.RenderManager rm,
             com.jme3.renderer.ViewPort vp)  | 
com.jme3.math.Vector3f | 
getMoveDirection()  | 
void | 
setMoveDirection(com.jme3.math.Vector3f moveDirection)  | 
calculateSteering, setupStrengthControl, setupStrengthControl, setupStrengthControl, setupStrengthControl, turnOffStrengthControlagentTotalMass, calculateNewVelocity, controlUpdate, getBrakingFactor, getTPF, getVelocity, rotateAgent, setBrakingFactor, setTPF, setVelocitypublic MoveBehaviour(Agent agent)
public MoveBehaviour(Agent agent, com.jme3.scene.Spatial spatial)
protected void controlRender(com.jme3.renderer.RenderManager rm,
                 com.jme3.renderer.ViewPort vp)
controlRender in class com.jme3.scene.control.AbstractControlpublic com.jme3.math.Vector3f getMoveDirection()
public void setMoveDirection(com.jme3.math.Vector3f moveDirection)
protected com.jme3.math.Vector3f calculateFullSteering()
AbstractStrengthSteeringBehaviourcalculateFullSteering in class AbstractStrengthSteeringBehaviourAbstractStrengthSteeringBehaviour.calculateFullSteering()