Polarith AI
1.8

◆ Smoothness

float Smoothness
getset

The plane for determining the resulting magnitude values moves smoothly around the corners of the perceived objects bounds.

With this non-negative parameter, the smoothness can be increased. In practice, this controls how close the avoidance trajectory is towards the bounds.

This value is in Unity units and dependent on the longest side of the colliders bounds. It is internally clamped to the maximum bounds size and thus resulting in a behaviour equivalent to AIMAvoid.

Imprint