Ring Trace

A ring trace forms a circular ring around a point with an inner and outer radius. Only actors outisde the inner ring are hit.
- Features:
- Great for AoE spells like explosions or shockwaves.
- Defined by inner radius and outer radius.
- Can be centered on the caster or a target point.
Usage example
A melee spin ability where the hits are deteced between 250 and 500 units fromt the attacker.
Implementing an example of Ring Trace
Prequisits
This example assumes that you are using the ThirdPersonTemplate project or understand where your current playable character class is.
Find the function.
In your playable Character's event graph, right click in some empty space and look for Indectis or Ring Trace Single. You should see a bunch of different options come up as a result, pick Ring Trace Single for Objects.

Configuring the Ring trace.
Every parameter on the function has a tooltip that describes what it does but the technical details are listed on this same page under Ring Trace for Objects. This example will use parameters as shown in the image below:

Using debug input.
Right-click again in the event graph and look for Debug Input it doesn't matter which one you pick, we can assign the key to it through the details panel. Pick any key you want, this example uses Q for it.

Connect the Debug Input with the Ring Trace.
Connect the Pressed execution pin from the Debug Input to the Ring Trace Single for Objects that was configured in step two.

Play in Editor to test.
Place a single third person character in your level then play in editor and press Q while facing it to see the Ring Trace work with it's debug shape.
Ring Trace Single by Channel
A ring trace that uses a trace channel for internnal sweep.

Technical Details
| Parameter | Description |
|---|---|
| Origin | Location at the center of the ring |
| Outer Radius | Radius of the outer ring |
| Inner Radius | Radius of the inner ring |
| Trace Channel | Trace channel to use for the sweep |
| Trace Complex | Should trace against complex collision |
| Actors to Ignore | An array of actors to ignore |
| Ignore Self | Should ignore this actor |
| Draw Debug Type | Debug draw duration type |
| Trace Color | Debug color of the trace |
| Trace Hit Color | Debug color of valid hits |
| Drawtime | Duration for the debug draw on screen |
Ring Trace Single for ObjectTypes
A ring trace that uses an array of object types for internnal sweep.

Technical Details
| Parameter | Description |
|---|---|
| Origin | Location at the center of the ring |
| Outer Radius | Radius of the outer ring |
| Inner Radius | Radius of the inner ring |
| ObjectTypes | Array of object types for the sweep |
| Trace Complex | Should trace against complex collision |
| Actors to Ignore | An array of actors to ignore |
| Ignore Self | Should ignore this actor |
| Draw Debug Type | Debug draw duration type |
| Trace Color | Debug color of the trace |
| Trace Hit Color | Debug color of valid hits |
| Drawtime | Duration for the debug draw on screen |
Ring Trace Single by Profile
A ring trace that uses a collision profile for internal sweep.

Technical Details
| Parameter | Description |
|---|---|
| Origin | Location at the center of the ring |
| Outer Radius | Radius of the outer ring |
| Inner Radius | Radius of the inner ring |
| Profile | Collision profile to use for sweep |
| Trace Complex | Should trace against complex collision |
| Actors to Ignore | An array of actors to ignore |
| Ignore Self | Should ignore this actor |
| Draw Debug Type | Debug draw duration type |
| Trace Color | Debug color of the trace |
| Trace Hit Color | Debug color of valid hits |
| Drawtime | Duration for the debug draw on screen |
Ring Trace Multi by Channel
A ring trace that uses a trace channel for internal sweep and returns an array of hits.

Technical Details
| Parameter | Description |
|---|---|
| Origin | Location at the center of the ring |
| Outer Radius | Radius of the outer ring |
| Inner Radius | Radius of the inner ring |
| Trace Channel | Trace channel to use for the sweep |
| Trace Complex | Should trace against complex collision |
| Actors to Ignore | An array of actors to ignore |
| Ignore Self | Should ignore this actor |
| Draw Debug Type | Debug draw duration type |
| Trace Color | Debug color of the trace |
| Trace Hit Color | Debug color of valid hits |
| Drawtime | Duration for the debug draw on screen |
Ring Trace Multi for ObjectTypes
A ring trace that uses an array of object types for internal sweep and returns an array of hits.

Technical Details
| Parameter | Description |
|---|---|
| Origin | Location at the center of the ring |
| Outer Radius | Radius of the outer ring |
| Inner Radius | Radius of the inner ring |
| ObjectTypes | Array of object types for the sweep |
| Trace Complex | Should trace against complex collision |
| Actors to Ignore | An array of actors to ignore |
| Ignore Self | Should ignore this actor |
| Draw Debug Type | Debug draw duration type |
| Trace Color | Debug color of the trace |
| Trace Hit Color | Debug color of valid hits |
| Drawtime | Duration for the debug draw on screen |
Ring Trace Multi by Profile
A ring trace that uses a collision profile for internal sweep and returns an array of hits.

Technical Details
| Parameter | Description |
|---|---|
| Origin | Location at the center of the ring |
| Outer Radius | Radius of the outer ring |
| Inner Radius | Radius of the inner ring |
| Profile | Collision profile to use for sweep |
| Trace Complex | Should trace against complex collision |
| Actors to Ignore | An array of actors to ignore |
| Ignore Self | Should ignore this actor |
| Draw Debug Type | Debug draw duration type |
| Trace Color | Debug color of the trace |
| Trace Hit Color | Debug color of valid hits |
| Drawtime | Duration for the debug draw on screen |

