Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/Units > API/Plugins/ControlRig/Units/Collision
Inheritance Hierarchy
References
| |
|
| Module |
ControlRig |
| Header |
/Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Units/Collision/RigUnit_WorldCollision.h |
| Include |
#include "Units/Collision/RigUnit_WorldCollision.h" |
Syntax
USTRUCT (
Meta=(DisplayName="Sphere Trace", Category="Collision", DocumentationPolicy="Strict", Keywords="Sweep,Raytrace,Collision,Collide,Trace", Varying, NodeColor="0.2 0.4 0.7", Deprecated="5.0"))
struct FRigUnit_SphereTraceWorld : public FRigUnit
Sweeps a sphere against the world and return the first blocking hit using a specific channel
Variables
| |
Type |
Name |
Description |
 |
bool |
bHit |
Returns true if there was a hit |
 |
TEnumAsByte< ECollisionChannel > |
Channel |
The 'channel' that this trace is in, used to determine which components to hit |
 |
FVector |
End |
End of the trace in rig / global space |
 |
FVector |
HitLocation |
Hit location in rig / global Space |
 |
FVector |
HitNormal |
Hit normal in rig / global Space |
 |
float |
Radius |
Radius of the sphere to use for sweeping / tracing |
 |
FVector |
Start |
Start of the trace in rig / global space |
 |
FRigUnit_SphereTrace_WorkData |
WorkData |
Cache / workstate |
Constructors
| |
Type |
Name |
Description |
 |
|
|
|
Overridden from FRigVMStruct