public class EvadeBehaviour extends FleeBehaviour
| Modifier and Type | Class and Description |
|---|---|
static class |
EvadeBehaviour.EvadeWithoutTarget |
AbstractStrengthSteeringBehaviour.negativeScalarMultiplierAbstractSteeringBehaviour.IllegalBrakingFactorBehaviour.behaviourNullAgentExceptionvelocity| Constructor and Description |
|---|
EvadeBehaviour(Agent agent,
Agent target) |
EvadeBehaviour(Agent agent,
Agent target,
com.jme3.scene.Spatial spatial) |
| Modifier and Type | Method and Description |
|---|---|
protected com.jme3.math.Vector3f |
calculateFullSteering()
Calculate steering vector.
|
controlRender, getFleePos, getTarget, setFleePos, setTargetcalculateSteering, setupStrengthControl, setupStrengthControl, setupStrengthControl, setupStrengthControl, turnOffStrengthControlagentTotalMass, calculateNewVelocity, controlUpdate, getBrakingFactor, getTPF, getVelocity, rotateAgent, setBrakingFactor, setTPF, setVelocitypublic EvadeBehaviour(Agent agent, Agent target)
EvadeBehaviour.EvadeWithoutTarget - If target is nullFleeBehaviour.FleeBehaviour(com.jme3.ai.agents.Agent, com.jme3.ai.agents.Agent)public EvadeBehaviour(Agent agent, Agent target, com.jme3.scene.Spatial spatial)
EvadeBehaviour.EvadeWithoutTarget - If target is nullFleeBehaviour.FleeBehaviour(com.jme3.ai.agents.Agent, com.jme3.ai.agents.Agent, com.jme3.scene.Spatial)protected com.jme3.math.Vector3f calculateFullSteering()
FleeBehaviourcalculateFullSteering in class FleeBehaviourFleeBehaviour.calculateFullSteering()