unreal.RigPhysicsVisualizationSettings1¶
- class unreal.RigPhysicsVisualizationSettings1¶
Bases:
StructBaseVisualization 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).
C++ Source:
Plugin: ControlRigPhysics
Module: ControlRigPhysics
File: RigPhysicsData.h
Editor Properties: (see get_editor_property/set_editor_property)
line_thickness(float): [Read-Write]shape_detail(int32): [Read-Write]shape_size(int32): [Read-Write] Multiplier on the size things like limit shapesshow_active_contacts(bool): [Read-Write] If visualization is enabled, show active contacts. Note that this can be overridden using CVar ControlRig.Physics.ShowActiveContactsOverrideshow_bodies(bool): [Read-Write]show_centre_of_mass(bool): [Read-Write]show_controls(bool): [Read-Write]show_inactive_contacts(bool): [Read-Write] If visualization is enabled, show inactive contacts. Note that this can be overridden using CVar ControlRig.Physics.ShowInactiveContactsOverrideshow_joints(bool): [Read-Write]show_world_objects(bool): [Read-Write]show_world_overlap_box(bool): [Read-Write]