unreal.RigUnit_HierarchyGetPhysicsBodyAngularVelocity

class unreal.RigUnit_HierarchyGetPhysicsBodyAngularVelocity(physics_body_component_key: RigComponentKey = Ellipsis, angular_velocity: Vector = Ellipsis)

Bases: RigUnit_PhysicsBase

Retrieves the current centre of mass angular velocity of the body.

C++ Source:

  • Plugin: ControlRigPhysics

  • Module: ControlRigPhysics

  • File: RigPhysicsBodyExecution.h

Editor Properties: (see get_editor_property/set_editor_property)

  • angular_velocity (Vector): [Read-Write] The current body angular velocity.

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

property angular_velocity: Vector

[Read-Only] The current body angular velocity.

Type:

(Vector)

property physics_body_component_key: RigComponentKey

[Read-Write] The Physics Body to be queried

Type:

(RigComponentKey)