unreal.RigUnit_HierarchySetPhysicsBodyMaterial

class unreal.RigUnit_HierarchySetPhysicsBodyMaterial(execute_pin: RigVMExecutePin = [], physics_body_component_key: RigComponentKey = Ellipsis, material: RigPhysicsMaterial = [])

Bases: RigUnit_PhysicsBaseMutable

Applies the material settings to all the collision shapes

C++ Source:

  • Plugin: ControlRigPhysics

  • Module: ControlRigPhysics

  • File: RigPhysicsBodyExecution.h

Editor Properties: (see get_editor_property/set_editor_property)

  • execute_pin (RigVMExecutePin): [Read-Write] * This property is used to chain multiple mutable units together

  • material (RigPhysicsMaterial): [Read-Write]

  • physics_body_component_key (RigComponentKey): [Read-Write]

property material: RigPhysicsMaterial

[Read-Write]

Type:

(RigPhysicsMaterial)

property physics_body_component_key: RigComponentKey

[Read-Write]

Type:

(RigComponentKey)