unreal.RigUnit_SpawnDynamicsSolver

class unreal.RigUnit_SpawnDynamicsSolver(execute_pin: RigVMExecutePin = [], owner: RigElementKey = Ellipsis, solver_component_name: Name = 'None', settings: RigDynamicsSolverSettings = Ellipsis, simulation_space_settings: RigDynamicsSimulationSpaceSettings = Ellipsis, drag_settings: RigDynamicsSimulationDragSettings = Ellipsis, dynamics_solver_component_key: RigComponentKey = Ellipsis)

Bases: RigUnit_DynamicsBaseMutable

Spawns a new dynamics solver as a component on the owner element. Note: This node only runs as part of the construction event.

Deprecated in favour of FRigUnit_SpawnDynamicsSolver1, 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 ConvertLegacyDynamicsSimulationSpaceSettings; right-clicking the deprecated node offers a one-click upgrade to the new node via GetUpgradeInfo.

C++ Source:

  • Plugin: ControlRigDynamics

  • Module: ControlRigDynamics

  • File: RigDynamicsSolverExecution.h

Editor Properties: (see get_editor_property/set_editor_property)

  • drag_settings (RigDynamicsSimulationDragSettings): [Read-Write] Air/ether drag settings (drag multipliers, external air/ether velocity, turbulence). On the replacement unit these live nested inside SpaceMotion.Drag.

  • dynamics_solver_component_key (RigComponentKey): [Read-Write] The solver component key that was created

  • 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)

  • settings (RigDynamicsSolverSettings): [Read-Write] Solver settings

  • simulation_space_settings (RigDynamicsSimulationSpaceSettings): [Read-Write] Legacy combined simulation-space settings - now split into SpaceMotion + TeleportDetection on the replacement unit.

  • solver_component_name (Name): [Read-Write] The name to give the new solver component. Only used as a starting point - if another component with this name already exists on the owner element, the hierarchy will append a unique suffix. Read DynamicsSolverComponentKey to find the name that was actually assigned.

property drag_settings: RigDynamicsSimulationDragSettings

[Read-Write] Air/ether drag settings (drag multipliers, external air/ether velocity, turbulence). On the replacement unit these live nested inside SpaceMotion.Drag.

Type:

(RigDynamicsSimulationDragSettings)

property dynamics_solver_component_key: RigComponentKey

[Read-Only] The solver component key that was created

Type:

(RigComponentKey)

property owner: RigElementKey

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

Type:

(RigElementKey)

property settings: RigDynamicsSolverSettings

[Read-Write] Solver settings

Type:

(RigDynamicsSolverSettings)

property simulation_space_settings: RigDynamicsSimulationSpaceSettings

[Read-Write] Legacy combined simulation-space settings - now split into SpaceMotion + TeleportDetection on the replacement unit.

Type:

(RigDynamicsSimulationSpaceSettings)

property solver_component_name: Name

[Read-Write] The name to give the new solver component. Only used as a starting point - if another component with this name already exists on the owner element, the hierarchy will append a unique suffix. Read DynamicsSolverComponentKey to find the name that was actually assigned.

Type:

(Name)