unreal.RigUnit_HierarchyGetPhysicsBodyCoMTransform

class unreal.RigUnit_HierarchyGetPhysicsBodyCoMTransform(physics_body_component_key: RigComponentKey = Ellipsis, co_m_transform: Transform = Ellipsis)

Bases: RigUnit_PhysicsBase

Retrieves the current simulation centre of mass transform of the body.

C++ Source:

  • Plugin: ControlRigPhysics

  • Module: ControlRigPhysics

  • File: RigPhysicsBodyExecution.h

Editor Properties: (see get_editor_property/set_editor_property)

  • co_m_transform (Transform): [Read-Write] The current centre of mass transform of the body.

  • physics_body_component_key (RigComponentKey): [Read-Write] The Physics Body to be queried

property co_m_transform: Transform

[Read-Only] The current centre of mass transform of the body.

Type:

(Transform)

property physics_body_component_key: RigComponentKey

[Read-Write] The Physics Body to be queried

Type:

(RigComponentKey)