unreal.RigUnit_HierarchySetDynamicsParticleDamping

class unreal.RigUnit_HierarchySetDynamicsParticleDamping(execute_pin: RigVMExecutePin = [], dynamics_particle_component_key: RigComponentKey = Ellipsis, damping: float = 0.0)

Bases: RigUnit_DynamicsBaseMutable

Sets the particle into “damping” mode: writes the Damping value to ParticleProperties.Damping and forces bScaleDampingByInverseMass = false, so the effective coupling rate is Damping directly (mass-independent - every particle has the same relaxation timescale). Use Set Drag instead for the drag-like, mass-scaled behaviour.

C++ Source:

  • Plugin: ControlRigDynamics

  • Module: ControlRigDynamics

  • File: RigDynamicsParticleExecution.h

Editor Properties: (see get_editor_property/set_editor_property)

  • damping (float): [Read-Write] Air/ether damping rate (1/time). Effective coupling rate = Damping, regardless of mass.

  • dynamics_particle_component_key (RigComponentKey): [Read-Write] The Dynamics Particle to be updated

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

property damping: float

[Read-Write] Air/ether damping rate (1/time). Effective coupling rate = Damping, regardless of mass.

Type:

(float)

property dynamics_particle_component_key: RigComponentKey

[Read-Write] The Dynamics Particle to be updated

Type:

(RigComponentKey)