public abstract class AbstractStrengthSteeringBehaviour extends AbstractSteeringBehaviour
SteerStrengthType, 
AbstractSteeringBehaviour| Modifier and Type | Class and Description | 
|---|---|
static class  | 
AbstractStrengthSteeringBehaviour.negativeScalarMultiplier  | 
AbstractSteeringBehaviour.IllegalBrakingFactorBehaviour.behaviourNullAgentExceptionvelocity| Constructor and Description | 
|---|
AbstractStrengthSteeringBehaviour(Agent agent)  | 
AbstractStrengthSteeringBehaviour(Agent agent,
                                 com.jme3.scene.Spatial spatial)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected abstract com.jme3.math.Vector3f | 
calculateFullSteering()
If a bheaviour class extend from CompoundSteeringBehaviour instead
 of AbstractSteeringBehaviout, It must implement this method instead of
 calculateSteering(). 
 | 
protected com.jme3.math.Vector3f | 
calculateSteering()
Calculates the steering force with the especified strength. 
 | 
void | 
setupStrengthControl(float scalar)
If you call this function you will be able to increase or decrease the steering
 behaviour force multiplying it by a scalar. 
 | 
void | 
setupStrengthControl(float x,
                    float y,
                    float z)
If you call this function you will be able to modify the full steering force
 on a especific axis (x, y, z) 
 | 
void | 
setupStrengthControl(com.jme3.math.Plane plane)
Forces the steer to stay inside a plane. 
 | 
void | 
setupStrengthControl(com.jme3.math.Plane plane,
                    float scalar)  | 
void | 
turnOffStrengthControl()
If this function is called, this class work as AbstractSteeringBehaviour. 
 | 
agentTotalMass, calculateNewVelocity, controlUpdate, getBrakingFactor, getTPF, getVelocity, rotateAgent, setBrakingFactor, setTPF, setVelocitypublic AbstractStrengthSteeringBehaviour(Agent agent)
public AbstractStrengthSteeringBehaviour(Agent agent, com.jme3.scene.Spatial spatial)
public void setupStrengthControl(float scalar)
scalar - Escalar that will multiply the full steer force.AbstractStrengthSteeringBehaviour.negativeScalarMultiplier - If scalar is lower than 0public void setupStrengthControl(float x,
                        float y,
                        float z)
x - X axis multipliery - Y axis multiplierz - Z axis multiplierAbstractStrengthSteeringBehaviour.negativeScalarMultiplier - If any axis multiplier is lower than 0public void setupStrengthControl(com.jme3.math.Plane plane)
Plane - plane where the steer will bepublic void setupStrengthControl(com.jme3.math.Plane plane,
                        float scalar)
public void turnOffStrengthControl()
AbstractSteeringBehaviourprotected com.jme3.math.Vector3f calculateSteering()
calculateSteering in class AbstractSteeringBehaviourprotected abstract com.jme3.math.Vector3f calculateFullSteering()