Package | Description |
---|---|
com.jme3.ai.agents.behaviours.npc.steering |
Steer behaviours.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractStrengthSteeringBehaviour
With this class it will be possible to increase or decrease the steering behaviour force.
|
class |
AlignmentBehaviour
Craig W.
|
class |
ArriveBehaviour
Arrival behavior is identical to seek while the character is far from its target.
|
class |
BalancedCompoundSteeringBehaviour
Each force generated inside this container is reduced in relation with a
proportion factor.
|
class |
BoxExploreBehaviour
"Explore goal is to exhaustively cover a region of space".
|
class |
CohesionBehaviour
Move toward center of neighbors.
|
class |
CompoundSteeringBehaviour
A steer compound behaviour contains one or more steer behaviours.
|
class |
ContainmentBehaviour
"Containment refers to motion which is restricted
to remain within a certain region."
|
class |
EvadeBehaviour
Brent Owens: "Evasion is analogous to pursuit, except that flee is used to steer away
from the predicted future position of the target character."
|
class |
FleeBehaviour
Flee is simply the inverse of seek and acts to steer the agent so that its
velocity is radially aligned away from the target.
|
class |
HideBehaviour
"Hide behavior involves identifying a target location which is on the opposite
side of an obstacle from the opponent, and steering toward it using seek."
|
class |
LeaderFollowing
This is similar to pursuit behaviour, but pursuiers must stay away from the pursued path.
|
class |
MoveBehaviour
Simple move behaviour: Agent moves in the "moveDirection" direction.
|
class |
ObstacleAvoidanceBehaviour
Returns a steering force to avoid a given obstacle.
|
class |
PathFollowBehaviour
"Path following behavior enables a character to steer along a predetermined path, such as a
roadway, corridor or tunnel.
|
class |
PursuitBehaviour
Brent Owens: "Pursuit is similar to seek except that the quarry (target) is another moving
character.
|
class |
QueuingBehaviour
"The queuing results from a steering behavior which produces braking (deceleration)
when the vehicle detects other vehicles which are: nearby, in front of, and moving
slower than itself."
|
class |
RelativeWanderBehaviour
"Wander is a type of random steering."
|
class |
SeekBehaviour
Purpose of seek behaviour is to steer agent towards a specified position or
object.
|
class |
SeparationBehaviour
Brent Owens: "Separation steering behavior gives a character the ability to
maintain a certain separation distance from others nearby.
|
class |
SlowBehaviour
Slows down the velocity produced by a behaviour container (g.e.
|
class |
SphereWanderBehaviour
"Wander is a type of random steering.
|
class |
UnalignedCollisionAvoidanceBehaviour
This behaviour is similar to ObstacleAvoidanceBehaviour wich the difference
that the obstacles can be other agents in movement.
|
class |
WallApproachBehaviour
"Approach a 'wall' (or other surface or path) and then maintain a
certain offset from it"
Keep in mind that this relates to wall approach not necessarily to collision detection. |
class |
WanderBehaviour
This behaviour is based on a easy implementation that "generates random steering
force each frame, but this produces rather uninteresting motion.
|
Modifier and Type | Method and Description |
---|---|
AbstractSteeringBehaviour |
CompoundSteeringBehaviour.steerBehavioursLayerList.getBehaviour() |
AbstractSteeringBehaviour |
CompoundSteeringBehaviour.steerBehavioursLayerList.getBehaviour() |
Modifier and Type | Method and Description |
---|---|
void |
CompoundSteeringBehaviour.steerBehavioursLayerList.add(AbstractSteeringBehaviour behaviour,
int layer,
float minLengthToInvalidSteer)
To optimize the process speed You need to add the behaviours from lowest to highest layer number.
|
void |
CompoundSteeringBehaviour.steerBehavioursLayerList.add(AbstractSteeringBehaviour behaviour,
int layer,
float minLengthToInvalidSteer)
To optimize the process speed You need to add the behaviours from lowest to highest layer number.
|
void |
BalancedCompoundSteeringBehaviour.addSteerBehaviour(AbstractSteeringBehaviour behaviour) |
void |
CompoundSteeringBehaviour.addSteerBehaviour(AbstractSteeringBehaviour behaviour)
Adds a behaviour to the compound behaviour.
|
void |
CompoundSteeringBehaviour.addSteerBehaviour(AbstractSteeringBehaviour behaviour)
Adds a behaviour to the compound behaviour.
|
void |
BalancedCompoundSteeringBehaviour.addSteerBehaviour(AbstractSteeringBehaviour behaviour) |
void |
CompoundSteeringBehaviour.addSteerBehaviour(AbstractSteeringBehaviour behaviour,
int priority,
float minLengthToInvalidSteer)
To optimize the process speed add the behaviours with the lowest priority first.
|
void |
CompoundSteeringBehaviour.addSteerBehaviour(AbstractSteeringBehaviour behaviour,
int priority,
float minLengthToInvalidSteer)
To optimize the process speed add the behaviours with the lowest priority first.
|
protected com.jme3.math.Vector3f |
BalancedCompoundSteeringBehaviour.calculatePartialForce(AbstractSteeringBehaviour behaviour) |
protected com.jme3.math.Vector3f |
CompoundSteeringBehaviour.calculatePartialForce(AbstractSteeringBehaviour behaviour)
Calculates the steering force of a single behaviour
|
protected com.jme3.math.Vector3f |
CompoundSteeringBehaviour.calculatePartialForce(AbstractSteeringBehaviour behaviour)
Calculates the steering force of a single behaviour
|
protected com.jme3.math.Vector3f |
BalancedCompoundSteeringBehaviour.calculatePartialForce(AbstractSteeringBehaviour behaviour) |
void |
CompoundSteeringBehaviour.steerBehavioursLayerList.remove(AbstractSteeringBehaviour behaviour) |
void |
CompoundSteeringBehaviour.steerBehavioursLayerList.remove(AbstractSteeringBehaviour behaviour) |
void |
CompoundSteeringBehaviour.removeSteerBehaviour(AbstractSteeringBehaviour behaviour)
Removes a behaviour from the compound steer behaviour.
|
void |
CompoundSteeringBehaviour.removeSteerBehaviour(AbstractSteeringBehaviour behaviour)
Removes a behaviour from the compound steer behaviour.
|
void |
CompoundSteeringBehaviour.steerBehavioursLayerList.steerBehavioursLayerNode.setData(AbstractSteeringBehaviour behaviour,
int layer,
float minLengthToInvalidSteer) |
void |
CompoundSteeringBehaviour.steerBehavioursLayerList.steerBehavioursLayerNode.setData(AbstractSteeringBehaviour behaviour,
int layer,
float minLengthToInvalidSteer) |
Constructor and Description |
---|
CompoundSteeringBehaviour.steerBehavioursLayerList.steerBehavioursLayerNode.layerElementData(AbstractSteeringBehaviour behaviour,
int layer,
float minLengthToInvalidSteer) |
CompoundSteeringBehaviour.steerBehavioursLayerList.steerBehavioursLayerNode.layerElementData(AbstractSteeringBehaviour behaviour,
int layer,
float minLengthToInvalidSteer) |
CompoundSteeringBehaviour.steerBehavioursLayerList.steerBehavioursLayerNode(AbstractSteeringBehaviour behaviour,
int layer,
float minLengthToInvalidSteer,
CompoundSteeringBehaviour.steerBehavioursLayerList.steerBehavioursLayerNode nextNode) |
CompoundSteeringBehaviour.steerBehavioursLayerList.steerBehavioursLayerNode(AbstractSteeringBehaviour behaviour,
int layer,
float minLengthToInvalidSteer,
CompoundSteeringBehaviour.steerBehavioursLayerList.steerBehavioursLayerNode nextNode) |