public class QueuingBehaviour extends AbstractStrengthSteeringBehaviour
| Modifier and Type | Class and Description |
|---|---|
static class |
QueuingBehaviour.QueuingWithNegativeMinDistance |
AbstractStrengthSteeringBehaviour.negativeScalarMultiplierAbstractSteeringBehaviour.IllegalBrakingFactorBehaviour.behaviourNullAgentExceptionvelocity| Constructor and Description |
|---|
QueuingBehaviour(Agent agent,
java.util.List<Agent> neighbours,
float minDistance) |
QueuingBehaviour(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 |
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) |
void |
setNeighbours(java.util.List<Agent> neighbours) |
calculateSteering, setupStrengthControl, setupStrengthControl, setupStrengthControl, setupStrengthControl, turnOffStrengthControlagentTotalMass, calculateNewVelocity, controlUpdate, getBrakingFactor, getTPF, getVelocity, rotateAgent, setBrakingFactor, setTPF, setVelocitypublic QueuingBehaviour(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 obstacleQueuingBehaviour.QueuingWithNegativeMinDistance - If minDistance is lower than 0AbstractStrengthSteeringBehaviour.AbstractStrengthSteeringBehaviour(com.jme3.ai.agents.Agent)public void setNeighbours(java.util.List<Agent> neighbours)
protected void controlRender(com.jme3.renderer.RenderManager rm,
com.jme3.renderer.ViewPort vp)
controlRender in class com.jme3.scene.control.AbstractControlprotected com.jme3.math.Vector3f calculateFullSteering()
AbstractStrengthSteeringBehaviourcalculateFullSteering in class AbstractStrengthSteeringBehaviourAbstractStrengthSteeringBehaviour.calculateFullSteering()