Polarith AI
1.7

◆ StartSteering()

override bool StartSteering ( )
protectedvirtual

Since this behaviour is independent of other percepts, the whole algorithm is executed in this method.

It only returns false if the internal up vector is invalid. Otherwise, it orients itself based on the velocity (forward direction) of its agent. If this is also 0, the first receptor of the attached AIMSensor is used as a fall-back.

Returns
false: if the Up vector is invalid (0, 0, 0), true: otherwise.

Reimplemented from SteeringBehaviour.

Imprint