API

Function ComputeBeta

  • Computes the beta angle based on the source position and the target position.

    Parameters

    • verticalOffset: number

      The y value of the directional offset between the source position and the target position

    • radius: number

      The distance between the source position and the target position

    Returns number

    The beta angle in radians