h1z1-server
    Preparing search index...

    Function getOffsetPoint

    • Calculates the position offset based on rotation, angle, and distance from a given position.

      Parameters

      • position: Float32Array

        The base position.

      • rotation: number

        The rotation angle in radians.

      • angle: number

        The additional angle in degrees.

      • distance: number

        The distance from the base position.

      Returns Float32Array<ArrayBuffer>

      The offset position.