unreal.RigUnit_HierarchyGetDynamicsColliderCapsuleLength

class unreal.RigUnit_HierarchyGetDynamicsColliderCapsuleLength(dynamics_collider_component_key: RigComponentKey = Ellipsis, name: Name = 'None', length: float = 0.0)

Bases: RigUnit_DynamicsBase

Gets the length of a named capsule shape on a Dynamics collider

C++ Source:

  • Plugin: ControlRigDynamics

  • Module: ControlRigDynamics

  • File: RigDynamicsColliderExecution.h

Editor Properties: (see get_editor_property/set_editor_property)

  • dynamics_collider_component_key (RigComponentKey): [Read-Write] The Dynamics Collider to query

  • length (float): [Read-Write] Core length of the capsule (total length is Length + 2 * Radius). If no matching shape is found, the output is left at its default.

  • name (Name): [Read-Write] The name of the capsule shape to query

property dynamics_collider_component_key: RigComponentKey

[Read-Write] The Dynamics Collider to query

Type:

(RigComponentKey)

property length: float

[Read-Only] Core length of the capsule (total length is Length + 2 * Radius). If no matching shape is found, the output is left at its default.

Type:

(float)

property name: Name

[Read-Write] The name of the capsule shape to query

Type:

(Name)