Polarith AI
1.8

◆ CalculatePlane()

virtual void CalculatePlane ( )
protectedvirtual

Calculates the plane which is used for the sensitivity mapping (see MoveBehaviour.MapBySensitivityPlane(MappingType, Structure, Vector3, Vector3, float, float)).

In order to define the plane, the two vectors planeDirection1 and planeDirection2 are set accordingly, whereby it must be ensured that these two plane spanning vectors are normalized.

Reimplemented in AvoidBounds.

Imprint