public class EvadeBehavior extends FleeBehavior
timePerFrame, velocity| Constructor and Description |
|---|
EvadeBehavior(Agent agent,
Agent target) |
EvadeBehavior(Agent agent,
Agent target,
com.jme3.scene.Spatial spatial) |
| Modifier and Type | Method and Description |
|---|---|
protected com.jme3.math.Vector3f |
calculateRawSteering()
Calculate steering vector.
|
getFleePosition, getTarget, setFleePosition, setTargetcalculateSteering, setupStrengthControl, setupStrengthControl, setupStrengthControl, setupStrengthControl, setupStrengthControl, turnOffStrengthControlagentTotalMass, calculateNewVelocity, controlUpdate, convertToGameEntities, getBrakingFactor, getTimePerFrame, getVelocity, rotateAgent, setBrakingFactor, setTimePerFrame, setVelocitycontrolRenderpublic EvadeBehavior(Agent agent, Agent target)
TargetNotFoundException - If target is nullFleeBehavior.FleeBehavior(com.jme3.ai.agents.Agent,
com.jme3.ai.agents.Agent)public EvadeBehavior(Agent agent, Agent target, com.jme3.scene.Spatial spatial)
TargetNotFoundException - If target is nullFleeBehavior.FleeBehavior(com.jme3.ai.agents.Agent,
com.jme3.ai.agents.Agent, com.jme3.scene.Spatial)protected com.jme3.math.Vector3f calculateRawSteering()
FleeBehaviorcalculateRawSteering in class FleeBehaviorFleeBehavior.calculateRawSteering()