Map – Line Sweep

Use Value Description

Performs a collision line sweep to determine the exact location and actor involved in a regular line collision accessible by 'Line Collision/Sweep Actor' and 'Line Sweep X/Y/Z' use values. Depending on if it collides or not it will return true (1) or false (0).

Map(*).LineSweep


Parameters

Source X – Source X position

Source Y – Source Y position

Source Z – Source Z position

Destination X – Destination X position

Destination Y – Destination Y position

Destination Z – Destination Z position

Ignore a Team 1 (optional) – Ignores the selected team

Ignore a Team 2 (optional) – Ignores the selected team

Ignore an Actor 1 (optional) – Ignores the selected actor

Ignore an Actor 2 (optional) – Ignores the selected actor

Accuracy – Number of pixels of accuracy; lower number is more accurate, higher number performs quicker


Related Events/Use Values

System – Line Sweep Branch (Event)

Map – Line Collision (Use Value)


Does this page need more information? Email Us!