unreal.RigUnit_HierarchyRemovePhysicsBodyForce

class unreal.RigUnit_HierarchyRemovePhysicsBodyForce(execute_pin: RigVMExecutePin = [], physics_body_component_key: RigComponentKey = Ellipsis, name: Name = 'None')

Bases: RigUnit_PhysicsBaseMutable

Removes all force records (assuming they hasn’t been applied yet) with the given Name on the Body component.

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

  • name (Name): [Read-Write] The name of the force record to remove.

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

property name: Name

[Read-Write] The name of the force record to remove.

Type:

(Name)

property physics_body_component_key: RigComponentKey

[Read-Write] The Physics Body to be updated

Type:

(RigComponentKey)