unreal.RigUnit_HierarchySetPhysicsBodyCollisionType

class unreal.RigUnit_HierarchySetPhysicsBodyCollisionType(execute_pin: RigVMExecutePin = [], physics_body_component_key: RigComponentKey = Ellipsis, collision_type: CollisionEnabled = Ellipsis)

Bases: RigUnit_PhysicsBaseMutable

Sets what collision mode is used for this body

C++ Source:

  • Plugin: ControlRigPhysics

  • Module: ControlRigPhysics

  • File: RigPhysicsBodyExecution.h

Editor Properties: (see get_editor_property/set_editor_property)

  • collision_type (CollisionEnabled): [Read-Write] What type of collision to use for the Physics Body

  • 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 collision_type: CollisionEnabled

[Read-Write] What type of collision to use for the Physics Body

Type:

(CollisionEnabled)

property physics_body_component_key: RigComponentKey

[Read-Write] The Physics Body to be updated

Type:

(RigComponentKey)