unreal.RigUnit_HierarchySetPhysicsBodyMovementType

class unreal.RigUnit_HierarchySetPhysicsBodyMovementType(execute_pin: RigVMExecutePin = [], physics_body_component_key: RigComponentKey = Ellipsis, movement_type: PhysicsMovementType = Ellipsis)

Bases: RigUnit_PhysicsBaseMutable

Sets the movement mode for this body.

C++ Source:

  • Plugin: ControlRigPhysics

  • Module: ControlRigPhysics

  • File: RigPhysicsBodyExecution.h

Editor Properties: (see get_editor_property/set_editor_property)

  • execute_pin (RigVMExecutePin): [Read-Write] This property is used to chain multiple mutable units together

  • movement_type (PhysicsMovementType): [Read-Write] How the Physics Body should move when the Physics Solver is stepped.

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

property movement_type: PhysicsMovementType

[Read-Write] How the Physics Body should move when the Physics Solver is stepped.

Type:

(PhysicsMovementType)

property physics_body_component_key: RigComponentKey

[Read-Write] The Physics Body to be updated

Type:

(RigComponentKey)