unreal.RigDynamicsConfinerComponent

class unreal.RigDynamicsConfinerComponent(shapes: RigDynamicsShapeCollection = Ellipsis, strength: float = 0.0)

Bases: RigBaseComponent

A component that can be added to a joint/element that defines how a confinement shape can be attached to it. DynamicsParticles that opt in to a confiner will be kept inside its shapes (each shape is enforced independently).

C++ Source:

  • Plugin: ControlRigDynamics

  • Module: ControlRigDynamics

  • File: RigDynamicsConfinerComponent.h

Editor Properties: (see get_editor_property/set_editor_property)

  • shapes (RigDynamicsShapeCollection): [Read-Write]

  • strength (float): [Read-Write] The strength with which particles are pushed back inside the confiner shapes (oscillation frequency). High values confine rigidly, low values allow soft/springy escape before settling.

property shapes: RigDynamicsShapeCollection

[Read-Only]

Type:

(RigDynamicsShapeCollection)

property strength: float

[Read-Only] The strength with which particles are pushed back inside the confiner shapes (oscillation frequency). High values confine rigidly, low values allow soft/springy escape before settling.

Type:

(float)