public class BalancedCompoundSteeringBehaviour extends CompoundSteeringBehaviour
CompoundSteeringBehaviourCompoundSteeringBehaviour.steerBehavioursLayerListAbstractStrengthSteeringBehaviour.negativeScalarMultiplierAbstractSteeringBehaviour.IllegalBrakingFactorBehaviour.behaviourNullAgentExceptionbehavioursvelocity| Constructor and Description | 
|---|
BalancedCompoundSteeringBehaviour(Agent agent)  | 
BalancedCompoundSteeringBehaviour(Agent agent,
                                 com.jme3.scene.Spatial spatial)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addSteerBehaviour(AbstractSteeringBehaviour behaviour)
Adds a behaviour to the compound behaviour. 
 | 
protected com.jme3.math.Vector3f | 
calculatePartialForce(AbstractSteeringBehaviour behaviour)
Calculates the steering force of a single behaviour 
 | 
protected void | 
calculateTotalForce()  | 
protected void | 
partialForceCalculated()  | 
void | 
setStrengthIsBalanced(boolean strengthIsBalanced)
Turn on or off the balance. 
 | 
addSteerBehaviour, calculateFullSteering, controlRender, controlUpdate, removeSteerBehaviourcalculateSteering, setupStrengthControl, setupStrengthControl, setupStrengthControl, setupStrengthControl, turnOffStrengthControlagentTotalMass, calculateNewVelocity, getBrakingFactor, getTPF, getVelocity, rotateAgent, setBrakingFactor, setTPF, setVelocitypublic BalancedCompoundSteeringBehaviour(Agent agent)
public BalancedCompoundSteeringBehaviour(Agent agent, com.jme3.scene.Spatial spatial)
public void setStrengthIsBalanced(boolean strengthIsBalanced)
public void addSteerBehaviour(AbstractSteeringBehaviour behaviour)
CompoundSteeringBehaviouraddSteerBehaviour in class CompoundSteeringBehaviourbehaviour - Behaviour that you want to addaddSteerBehaviour(com.jme3.ai.agents.behaviours.npc.steering.AbstractSteeringBehaviour)protected com.jme3.math.Vector3f calculatePartialForce(AbstractSteeringBehaviour behaviour)
CompoundSteeringBehaviourcalculatePartialForce in class CompoundSteeringBehaviourbehaviour - The behaviour.CompoundSteeringBehaviour.calculatePartialForce(com.jme3.ai.agents.behaviours.npc.steering.AbstractSteeringBehaviour)protected void calculateTotalForce()
protected void partialForceCalculated()