unreal.RigUnit_HierarchySetDynamics

class unreal.RigUnit_HierarchySetDynamics(execute_pin: RigVMExecutePin = [], physics_body_component_key: RigComponentKey = Ellipsis, dynamics: RigPhysicsDynamics = [])

Bases: RigUnit_PhysicsBaseMutable

Sets the mass etc for a physics component body. Note: This node only runs during the construction event (before physics instantiation, after which this data is frozen).

C++ Source:

  • Plugin: ControlRigPhysics

  • Module: ControlRigPhysics

  • File: RigPhysicsBodyExecution.h

Editor Properties: (see get_editor_property/set_editor_property)

  • dynamics (RigPhysicsDynamics): [Read-Write] Sets the properties describing the dynamics properties of the Physics Body

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

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

property dynamics: RigPhysicsDynamics

[Read-Write] Sets the properties describing the dynamics properties of the Physics Body

Type:

(RigPhysicsDynamics)

property physics_body_component_key: RigComponentKey

[Read-Write] The Physics Body to be updated

Type:

(RigComponentKey)