unreal.RigUnit_AddPhysicsSolver

class unreal.RigUnit_AddPhysicsSolver(execute_pin: RigVMExecutePin = [], owner: RigElementKey = Ellipsis, physics_solver_component_key: RigComponentKey = Ellipsis, solver_settings: RigPhysicsSolverSettings = Ellipsis, simulation_space_settings: RigPhysicsSimulationSpaceSettings = [])

Bases: RigUnit_PhysicsBaseMutable

Adds a new physics solver 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: RigPhysicsExecution.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

  • owner (RigElementKey): [Read-Write] The owner of the newly created component (must be set/valid)

  • physics_solver_component_key (RigComponentKey): [Read-Write]

  • simulation_space_settings (RigPhysicsSimulationSpaceSettings): [Read-Write]

  • solver_settings (RigPhysicsSolverSettings): [Read-Write]

property owner: RigElementKey

[Read-Write] The owner of the newly created component (must be set/valid)

Type:

(RigElementKey)

property physics_solver_component_key: RigComponentKey

[Read-Only]

Type:

(RigComponentKey)

property simulation_space_settings: RigPhysicsSimulationSpaceSettings

[Read-Write]

Type:

(RigPhysicsSimulationSpaceSettings)

property solver_settings: RigPhysicsSolverSettings

[Read-Write]

Type:

(RigPhysicsSolverSettings)