public class QueuingBehavior extends AbstractStrengthSteeringBehavior
timePerFrame, velocity| Constructor and Description |
|---|
QueuingBehavior(Agent agent,
java.util.List<Agent> neighbours,
float minDistance) |
QueuingBehavior(Agent agent,
java.util.List<Agent> neighbours,
float minDistance,
com.jme3.scene.Spatial spatial) |
| Modifier and Type | Method and Description |
|---|---|
protected com.jme3.math.Vector3f |
calculateRawSteering()
If a behavior class extend from CompoundSteeringBehaviour instead of
AbstractSteeringBehavior, it must implement this method instead of
calculateSteering().
|
void |
setNeighbours(java.util.List<Agent> neighbours) |
void |
setNeighboursFromTeam(Team team) |
calculateSteering, setupStrengthControl, setupStrengthControl, setupStrengthControl, setupStrengthControl, setupStrengthControl, turnOffStrengthControlagentTotalMass, calculateNewVelocity, controlUpdate, convertToGameEntities, getBrakingFactor, getTimePerFrame, getVelocity, rotateAgent, setBrakingFactor, setTimePerFrame, setVelocitycontrolRenderpublic QueuingBehavior(Agent agent, java.util.List<Agent> neighbours, float minDistance)
neighbours - Queue of agentsminDistance - Min. distance from center to center to consider a
neighbour as an obstacleSteeringExceptions.NegativeValueException - If minDistance is lower
than 0AbstractStrengthSteeringBehavior.AbstractStrengthSteeringBehavior(com.jme3.ai.agents.Agent)protected com.jme3.math.Vector3f calculateRawSteering()
AbstractStrengthSteeringBehaviorcalculateRawSteering in class AbstractStrengthSteeringBehaviorAbstractStrengthSteeringBehavior.calculateRawSteering()public void setNeighbours(java.util.List<Agent> neighbours)
public void setNeighboursFromTeam(Team team)