Ultimate Helpers Library
  • Ultimate Helpers Library
    • Enabling the Plugin
  • Advanced
    • Functions
      • Traces
      • Prints
      • Random Values
    • Editor Utilities
Powered by GitBook
On this page
  1. Advanced
  2. Functions

Traces

There are 2 main types of traces. Line trace and Sphere trace, each of them has their own version of the functions bellow that can be used in different situations

Last updated 4 months ago

Trace to Screen Center by Channel

Does a collision trace and returns the first blocking hit encountered.

  • This trace finds the objects that RESPONDS to the given TraceChannel

Trace to Screen Center by Profile

Trace a ray against the world using a specific profile and return the first blocking hit.

  • This trace finds the objects that RESPONDS to the given collision profile

Trace to Screen Center for Objects

Does a collision trace along the given line and returns the first hit encountered.

  • This only finds objects that are of a type specified by ObjectTypes.

Multi Trace to Screen Center by Channel

Does a collision trace along the given line and returns all hits encountered up to and including the first blocking hit. (Stops on the first blocking hit)

  • This trace finds the objects that RESPOND to the given Trace Channel

Multi Trace to Screen Center by Profile

Trace a ray against the world using a specific profile and return overlapping hits and then first blocking hit (Stops on the first blocking hit)

  • This trace finds the objects that RESPONDS to the given Collision Profile

Multi Trace to Screen Center for Objects

Does a collision trace along the given line and returns all hits encountered.

  • This only finds objects that are of a type specified by ObjectTypes

Page cover image