unreal.RigUnit_HierarchySetPhysicsSolverAllowCCD

class unreal.RigUnit_HierarchySetPhysicsSolverAllowCCD(execute_pin: RigVMExecutePin = [], physics_solver_component_key: RigComponentKey = Ellipsis, allow_ccd: bool = False)

Bases: RigUnit_PhysicsBaseMutable

Enables/disables support for CCD in the solver. Note: Solver settings are pushed to the simulation each step, so this can be modified after physics instantiation.

C++ Source:

  • Plugin: ControlRigPhysics

  • Module: ControlRigPhysics

  • File: RigPhysicsSolverExecution.h

Editor Properties: (see get_editor_property/set_editor_property)

  • allow_ccd (bool): [Read-Write] Whether or not the solver allows CCD to be used. CCD also needs to be enabled on individual bodies

  • execute_pin (RigVMExecutePin): [Read-Write] This property is used to chain multiple mutable units together

  • physics_solver_component_key (RigComponentKey): [Read-Write] The Physics Solver to be updated

property allow_ccd: bool

[Read-Write] Whether or not the solver allows CCD to be used. CCD also needs to be enabled on individual bodies

Type:

(bool)

property physics_solver_component_key: RigComponentKey

[Read-Write] The Physics Solver to be updated

Type:

(RigComponentKey)