Info

Statistics

  • Download count376 total downloads
  • Latest download count 376 downloads of latest version
  • Average download count1 downloads per day average

Owners

A list of all Actions, Conditions and Expressions supported in this addon.

Obstacles

  • Actions

    Add {my} obstacle {0}

    Add a custom object as an obstacle to traces.

    Clear {my} obstacles

    Remove all added obstacle objects.

Trace

  • Actions

    Trace line from ({0}, {1}) to ({2}, {3})

    Performs a line trace, storing the results.

  • Conditions

    {my} hit something

    Test if the last trace performed hit something.

Trace Results

  • Expressions

    HitUID

    Gets the UID of the object hit by the last trace. Returns -1 if none.

    HitX

    Gets the X coordinate of the first intersection.

    HitY

    Gets the Y coordinate of the first intersection.

    NormalAngle

    Gets the perpendicular angle of the first intersecting line.

    ReflectAngle

    Gets the new angle of the ray afting being reflected by the first intersecting line.

    HitFrac

    Gets the fractional distance to where the hit occured, with the start point being 0, and the end point being 1.