Function fixEdgePosition

  • If a MoveTarget's position and range overlaps a room edge, this will split the MoveTarget into two or four MoveTargets to cover an equivalent area without overlapping the edge. Useful for pathing in range of a target, but making sure it's at least in the same room.

    Parameters

    Returns MoveTarget[]

Generated using TypeDoc