public abstract class AbstractWanderBehavior extends AbstractStrengthSteeringBehavior
| Modifier and Type | Field and Description |
|---|---|
protected float |
timeInterval
Time interval durring which target position doesn't change.
|
timePerFrame, velocity| Constructor and Description |
|---|
AbstractWanderBehavior(Agent agent) |
AbstractWanderBehavior(Agent agent,
com.jme3.scene.Spatial spatial) |
| Modifier and Type | Method and Description |
|---|---|
float |
getTimeInterval()
Get time interval for changing target position.
|
void |
setTimeInterval(float timeInterval)
Setting time interval for changing target position.
|
calculateRawSteering, calculateSteering, setupStrengthControl, setupStrengthControl, setupStrengthControl, setupStrengthControl, setupStrengthControl, turnOffStrengthControlagentTotalMass, calculateNewVelocity, controlUpdate, convertToGameEntities, getBrakingFactor, getTimePerFrame, getVelocity, rotateAgent, setBrakingFactor, setTimePerFrame, setVelocitycontrolRenderprotected float timeInterval
public AbstractWanderBehavior(Agent agent)
AbstractStrengthSteeringBehavior#AbstractSteeringBehavior(com.jme3.ai.agents.Agent)public AbstractWanderBehavior(Agent agent, com.jme3.scene.Spatial spatial)
AbstractStrengthSteeringBehavior#AbstractSteeringBehavior(com.jme3.ai.agents.Agent,
com.jme3.scene.Spatial)