unreal.RigUnit_AddPhysicsBody¶
- class unreal.RigUnit_AddPhysicsBody(execute_pin: RigVMExecutePin = [], owner: RigElementKey = Ellipsis, physics_body_component_key: RigComponentKey = Ellipsis, solver: RigPhysicsBodySolverSettings = [], dynamics: RigPhysicsDynamics = [], collision: RigPhysicsCollision = [], body_data: PhysicsControlModifierData = Ellipsis)¶
Bases:
RigUnit_PhysicsBaseMutableAdds a new physics body as a component on the owner element. Note: This node only runs as part of the construction event.
C++ Source:
Plugin: ControlRigPhysics
Module: ControlRigPhysics
File: RigPhysicsBodyExecution.h
Editor Properties: (see get_editor_property/set_editor_property)
body_data(PhysicsControlModifierData): [Read-Write] The runtime modifiable datacollision(RigPhysicsCollision): [Read-Write] The collision properties of the new physics elementdynamics(RigPhysicsDynamics): [Read-Write] The dynamics properties of the new physics elementexecute_pin(RigVMExecutePin): [Read-Write] * This property is used to chain multiple mutable units togetherowner(RigElementKey): [Read-Write] The owner of the newly created component (must be set/valid)physics_body_component_key(RigComponentKey): [Read-Write]solver(RigPhysicsBodySolverSettings): [Read-Write] * The solver to relate this new physics element to
- property body_data: PhysicsControlModifierData¶
[Read-Write] The runtime modifiable data
- Type:
- property collision: RigPhysicsCollision¶
[Read-Write] The collision properties of the new physics element
- Type:
- property dynamics: RigPhysicsDynamics¶
[Read-Write] The dynamics properties of the new physics element
- Type:
- property owner: RigElementKey¶
[Read-Write] The owner of the newly created component (must be set/valid)
- Type:
- property physics_body_component_key: RigComponentKey¶
[Read-Only]
- Type:
- property solver: RigPhysicsBodySolverSettings¶
[Read-Write] * The solver to relate this new physics element to
- Type: