unreal.RigUnit_GetPhysicsBodyExists

class unreal.RigUnit_GetPhysicsBodyExists(physics_body_component_key: RigComponentKey = Ellipsis, exists: bool = False)

Bases: RigUnit_PhysicsBase

Indicates whether the component exists and is a Physics Body

C++ Source:

  • Plugin: ControlRigPhysics

  • Module: ControlRigPhysics

  • File: RigPhysicsBodyExecution.h

Editor Properties: (see get_editor_property/set_editor_property)

  • exists (bool): [Read-Write] Whether the component exists and is a Physics Body

  • physics_body_component_key (RigComponentKey): [Read-Write] The component key to check

property exists: bool

[Read-Only] Whether the component exists and is a Physics Body

Type:

(bool)

property physics_body_component_key: RigComponentKey

[Read-Write] The component key to check

Type:

(RigComponentKey)