unreal.RigUnit_HierarchyGetDynamicsParticleDrag

class unreal.RigUnit_HierarchyGetDynamicsParticleDrag(dynamics_particle_component_key: RigComponentKey = Ellipsis, drag: float = 0.0)

Bases: RigUnit_DynamicsBase

Reads the particle’s air/ether drag value, converting from Damping if the particle is in mass-independent mode (Drag = Damping * Mass) so the output always carries the drag-mode interpretation regardless of how the particle was authored.

C++ Source:

  • Plugin: ControlRigDynamics

  • Module: ControlRigDynamics

  • File: RigDynamicsParticleExecution.h

Editor Properties: (see get_editor_property/set_editor_property)

  • drag (float): [Read-Write] Air/ether drag coefficient (1/time). Effective coupling rate = Drag * InvMass.

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

property drag: float

[Read-Only] Air/ether drag coefficient (1/time). Effective coupling rate = Drag * InvMass.

Type:

(float)

property dynamics_particle_component_key: RigComponentKey

[Read-Write] The Dynamics Particle to query

Type:

(RigComponentKey)