h1z1-server

    Function calculateOrientation

    • Calculates the orientation (rotation) between two positions.

      Parameters

      • pos1: Float32Array

        The first position.

      • pos2: Float32Array

        The second position.

      Returns number

      The calculated orientation.

    MMNEPVFCICPMFPCPTTAAATR