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_PhysicsBaseMutableAdds a new physics solver as a component on the owner element. Note: This node only runs during the construction event (before physics instantiation, after which this data is frozen).
Deprecated in favour of FRigUnit_SpawnPhysicsSolver, which exposes the new SpaceMotion + TeleportDetection input pins separately. Existing graphs continue to work - the deprecated Execute body routes the legacy SimulationSpaceSettings into the new component members via ConvertLegacyPhysicsSimulationSpaceSettings; right-clicking the deprecated node offers a one-click upgrade to the new node via GetUpgradeInfo.
C++ Source:
Plugin: ControlRigPhysics
Module: ControlRigPhysics
File: RigPhysicsSolverExecution.h
Editor Properties: (see get_editor_property/set_editor_property)
execute_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_solver_component_key(RigComponentKey): [Read-Write] The component key of the solver that has been addedsimulation_space_settings(RigPhysicsSimulationSpaceSettings): [Read-Write] Settings for the solver that apply to when it uses a simulation space other than “world”. These typically relate to the movement of the simulation space itself, and how that is used by the solver.solver_settings(RigPhysicsSolverSettings): [Read-Write] Settings for the physics solver that will be added
- property owner: RigElementKey¶
[Read-Write] The owner of the newly created component (must be set/valid)
- Type:
- property physics_solver_component_key: RigComponentKey¶
[Read-Only] The component key of the solver that has been added
- Type:
- property simulation_space_settings: RigPhysicsSimulationSpaceSettings¶
[Read-Write] Settings for the solver that apply to when it uses a simulation space other than “world”. These typically relate to the movement of the simulation space itself, and how that is used by the solver.
- property solver_settings: RigPhysicsSolverSettings¶
[Read-Write] Settings for the physics solver that will be added
- Type: