unreal.RigDynamicsShapeCapsule

class unreal.RigDynamicsShapeCapsule(name: Name = 'None', tm: Transform = Ellipsis, radius: float = 0.0, length: float = 0.0)

Bases: StructBase

Rig Dynamics Shape Capsule

C++ Source:

  • Plugin: ControlRigDynamics

  • Module: ControlRigDynamics

  • File: RigDynamicsData.h

Editor Properties: (see get_editor_property/set_editor_property)

  • length (float): [Read-Write] This is the length of the core part of the capsule. The total length will be Length + 2 * Radius

  • name (Name): [Read-Write] Shape name is optional/only used for identification

  • radius (float): [Read-Write] Capsule radius

  • tm (Transform): [Read-Write] Position and orientation (scale is ignored) Main axis will be along +Z.

property length: float

[Read-Only] This is the length of the core part of the capsule. The total length will be Length + 2 * Radius

Type:

(float)

property name: Name

[Read-Only] Shape name is optional/only used for identification

Type:

(Name)

property radius: float

[Read-Only] Capsule radius

Type:

(float)

property tm: Transform

[Read-Only] Position and orientation (scale is ignored) Main axis will be along +Z.

Type:

(Transform)