unreal.RigUnit_HierarchyGetPhysicsBodyTransform

class unreal.RigUnit_HierarchyGetPhysicsBodyTransform(physics_body_component_key: RigComponentKey = Ellipsis, transform: Transform = Ellipsis)

Bases: RigUnit_PhysicsBase

Retrieves the current simulation transform of the body.

C++ Source:

  • Plugin: ControlRigPhysics

  • Module: ControlRigPhysics

  • File: RigPhysicsBodyExecution.h

Editor Properties: (see get_editor_property/set_editor_property)

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

  • transform (Transform): [Read-Write] The current body transform.

property physics_body_component_key: RigComponentKey

[Read-Write] The Physics Body to be queried

Type:

(RigComponentKey)

property transform: Transform

[Read-Only] The current body transform.

Type:

(Transform)