unreal.RigDynamicsConeLimitComponent

class unreal.RigDynamicsConeLimitComponent(grandparent_component_key: RigComponentKey = Ellipsis, parent_component_key: RigComponentKey = Ellipsis, child_component_key: RigComponentKey = Ellipsis, strength: float = 0.0, damping_ratio: float = 0.0, angle: float = 0.0)

Bases: RigBaseComponent

A component that can be added to a joint/element that defines a cone (angular) limit between three particles.

C++ Source:

  • Plugin: ControlRigDynamics

  • Module: ControlRigDynamics

  • File: RigDynamicsConeLimitComponent.h

Editor Properties: (see get_editor_property/set_editor_property)

  • angle (float): [Read-Write] The (full) cone angle in degrees

  • child_component_key (RigComponentKey): [Read-Write] The child particle for the ConeLimit

  • damping_ratio (float): [Read-Write] DampingRatio for the ConeLimit

  • grandparent_component_key (RigComponentKey): [Read-Write] The grandparent particle for the ConeLimit

  • parent_component_key (RigComponentKey): [Read-Write] The parent particle for the ConeLimit

  • strength (float): [Read-Write] The strength which we drive towards the target limit (when outside). This is the oscillation frequency, so low values will be soft and springy, but values significantly above 1/timestep will impose the limit strongly.

property angle: float

[Read-Only] The (full) cone angle in degrees

Type:

(float)

property child_component_key: RigComponentKey

[Read-Only] The child particle for the ConeLimit

Type:

(RigComponentKey)

property damping_ratio: float

[Read-Only] DampingRatio for the ConeLimit

Type:

(float)

property grandparent_component_key: RigComponentKey

[Read-Only] The grandparent particle for the ConeLimit

Type:

(RigComponentKey)

property parent_component_key: RigComponentKey

[Read-Only] The parent particle for the ConeLimit

Type:

(RigComponentKey)

property strength: float

[Read-Only] The strength which we drive towards the target limit (when outside). This is the oscillation frequency, so low values will be soft and springy, but values significantly above 1/timestep will impose the limit strongly.

Type:

(float)