Description
Sweeps a sphere against the world and return the first blocking hit using a specific channel. Target objects can have different object types, but they need to have the same trace channel set to "block" in their collision response settings. You can create custom trace channels in Project Setting - Collision.
Information
| Plugin | ControlRig |
| Category | Collision |
| Tags | Sweep,Raytrace,Collision,Collide,Trace |
| Type | FRigUnit_SphereTraceByTraceChannel |
Inputs
| Name | Description | Permitted Types | Default Value |
|---|---|---|---|
| Start | Start of the trace in rig / global space | Vector | (X=0.000000,Y=0.000000,Z=0.000000) |
| End | End of the trace in rig / global space | Vector | (X=0.000000,Y=0.000000,Z=0.000000) |
| TraceChannel | The 'channel' that this trace is in, used to determine which components to hit | Trace Type Query | TraceTypeQuery1 |
| Radius | Radius of the sphere to use for sweeping / tracing | float | 5.000000 |