Свойство | Тип | Описание | |
---|---|---|---|
_behaviorFlags | int | ||
_dribbleFeelers | List |
||
_separationMultiple | double |
Метод | Описание | |
---|---|---|
CalculateSteeringForce ( ) : |
Calculates the overall steering force based on the currently active steering behaviors.
|
|
RenderAids ( |
Render force lines
|
|
SteeringBehaviors ( |
Метод | Описание | |
---|---|---|
accumulateForce ( |
This function calculates how much of its max steering force the vehicle has left to apply and then applies that amount of the force to add.
|
|
calculateArriveVector ( |
This behavior is similar to seek but it attempts to arrive at the target with a zero velocity
|
|
calculateInterposeVector ( |
Given an opponent and an object position this method returns a force that attempts to position the agent between them
|
|
calculatePursuitVector ( |
This behavior creates a force that steers the agent towards the ball
|
|
calculateSeekVector ( |
Given a target, this behavior returns a steering force which will allign the agent with the target and move the agent in the desired direction
|
|
calculateSeparationVector ( ) : |
This calculates a force repelling from the other neighbors
|
|
findNeighbours ( ) : void |
Tags any vehicles within a predefined radius
|
|
sumForces ( ) : |
This method calls each active steering behavior and acumulates their forces until the max steering force magnitude is reached at which time the function returns the steering force accumulated to that point
|
public CalculateSteeringForce ( ) : |
||
Результат |
public RenderAids ( |
||
g | ||
Результат | void |
public SteeringBehaviors ( |
||
player | ||
ball | ||
Результат | System |
protected accumulateForce ( |
||
steeringForce | ||
additionalForce | ||
Результат | bool |
protected calculateArriveVector ( |
||
target | ||
decel | DecelerationState | |
Результат |
protected calculateInterposeVector ( |
||
ball | ||
target | ||
distFromTarget | double | |
Результат |
protected calculatePursuitVector ( |
||
ball | ||
Результат |
protected calculateSeekVector ( |
||
target | ||
Результат |
protected calculateSeparationVector ( ) : |
||
Результат |