unreal.RigUnit_HierarchySetPhysicsBodyEnableCCD

class unreal.RigUnit_HierarchySetPhysicsBodyEnableCCD(execute_pin: RigVMExecutePin = [], physics_body_component_key: RigComponentKey = Ellipsis, enable_ccd: bool = False)

Bases: RigUnit_PhysicsBaseMutable

Enable/disable CCD. Note that this can be expensive, so disable it when not needed! Requires CCD to be allowed in the solver.

C++ Source:

  • Plugin: ControlRigPhysics

  • Module: ControlRigPhysics

  • File: RigPhysicsBodyExecution.h

Editor Properties: (see get_editor_property/set_editor_property)

  • enable_ccd (bool): [Read-Write] Enable / disable CCD. Note that this can be expensive, so disable it when not needed! Requires CCD to be allowed in the solver.

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

  • physics_body_component_key (RigComponentKey): [Read-Write] The Physics Body to be updated

property enable_ccd: bool

[Read-Write] Enable / disable CCD. Note that this can be expensive, so disable it when not needed! Requires CCD to be allowed in the solver.

Type:

(bool)

property physics_body_component_key: RigComponentKey

[Read-Write] The Physics Body to be updated

Type:

(RigComponentKey)