unreal.RigUnit_HierarchyGetDynamicsConfinerCapsuleLength

class unreal.RigUnit_HierarchyGetDynamicsConfinerCapsuleLength(dynamics_confiner_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 confiner

C++ Source:

  • Plugin: ControlRigDynamics

  • Module: ControlRigDynamics

  • File: RigDynamicsConfinerExecution.h

Editor Properties: (see get_editor_property/set_editor_property)

  • dynamics_confiner_component_key (RigComponentKey): [Read-Write] The Dynamics Confiner 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_confiner_component_key: RigComponentKey

[Read-Write] The Dynamics Confiner 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)