Navigation
API > API/Plugins > API/Plugins/ControlRigPhysics
Visualization toggles for the rig's physics simulation. Enabling any bShow* flag activates the low-level Chaos debug draw - which has significant runtime cost - so disable everything before profiling. Visualization can also be globally suppressed at runtime via the CVar ControlRig.Physics.AllowVisualization (set to 0).
| Name | FRigPhysicsVisualizationSettings1 |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/ControlRigPhysics/Source/ControlRigPhysics/Public/RigPhysicsData.h |
| Include Path | #include "RigPhysicsData.h" |
Syntax
USTRUCT (BlueprintType )
struct FRigPhysicsVisualizationSettings1
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| RigPhysicsData.h | |||
FRigPhysicsVisualizationSettings1
(
const FRigPhysicsVisualizationSettings& Other |
Does an "upgrade" from the old structure. | RigPhysicsData.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bShowActiveContacts | bool | If visualization is enabled, show active contacts. | RigPhysicsData.h |
|
| bShowBodies | bool | RigPhysicsData.h |
|
|
| bShowCentreOfMass | bool | RigPhysicsData.h |
|
|
| bShowControls | bool | RigPhysicsData.h |
|
|
| bShowInactiveContacts | bool | If visualization is enabled, show inactive contacts. | RigPhysicsData.h |
|
| bShowJoints | bool | RigPhysicsData.h |
|
|
| bShowWorldObjects | bool | RigPhysicsData.h |
|
|
| bShowWorldOverlapBox | bool | RigPhysicsData.h |
|
|
| LineThickness | float | RigPhysicsData.h |
|
|
| ShapeDetail | int32 | RigPhysicsData.h |
|
|
| ShapeSize | int32 | Multiplier on the size things like limit shapes. | RigPhysicsData.h |
|