Field maxSpeedAtRightAngle
Max agent speed when crossing a control point at a 90 degrees angle. Angle at a control point n is computed as the angle between segment from control point n-1
to control point n and segment from control point n to control point n+1.
If corner angle is bigger than 90 degrees, maxSpeedAtRightAngle
will still be used as max speed.
If corner angle is smaller than 90 degrees, max speed will be interpolated in function of corner angle between maxSpeedAtRightAngle
at 90 degrees and
current speed at 0 degree.
Namespace: Unity.Kinematica
Assembly: solution.dll
Syntax
public float maxSpeedAtRightAngle
Returns
Type | Description |
---|---|
float |