unreal.RigUnit_SpawnPhysicsSolver

class unreal.RigUnit_SpawnPhysicsSolver(execute_pin: RigVMExecutePin = [], owner: RigElementKey = Ellipsis, physics_solver_component_key: RigComponentKey = Ellipsis, solver_settings: RigPhysicsSolverSettings = Ellipsis, teleport_detection: RigPhysicsTeleportDetectionSettings = [], space_motion: RigPhysicsSimulationSpaceMotion = [])

Bases: RigUnit_PhysicsBaseMutable

Adds 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).

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 together

  • owner (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 added

  • solver_settings (RigPhysicsSolverSettings): [Read-Write] Settings for the physics solver that will be added

  • space_motion (RigPhysicsSimulationSpaceMotion): [Read-Write] Conditioning of simulation-space velocity/acceleration plus nested inertial-force gain and drag.

  • teleport_detection (RigPhysicsTeleportDetectionSettings): [Read-Write] Per-channel teleport-detection thresholds applied to raw simulation-space deltas.

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] The component key of the solver that has been added

Type:

(RigComponentKey)

property solver_settings: RigPhysicsSolverSettings

[Read-Write] Settings for the physics solver that will be added

Type:

(RigPhysicsSolverSettings)

property space_motion: RigPhysicsSimulationSpaceMotion

[Read-Write] Conditioning of simulation-space velocity/acceleration plus nested inertial-force gain and drag.

Type:

(RigPhysicsSimulationSpaceMotion)

property teleport_detection: RigPhysicsTeleportDetectionSettings

[Read-Write] Per-channel teleport-detection thresholds applied to raw simulation-space deltas.

Type:

(RigPhysicsTeleportDetectionSettings)