unreal.SmartObjectAnnotation_SlotUserCollision

class unreal.SmartObjectAnnotation_SlotUserCollision

Bases: SmartObjectSlotAnnotation

Annotation to check if a smart object user can stand on the slot without overlaps. Uses validation filter to get the user capsule for collisions testing, or use specific capsule defined in the annotation.

C++ Source:

  • Plugin: SmartObjects

  • Module: SmartObjectsModule

  • File: SmartObjectAnnotation_SlotUserCollision.h

Editor Properties: (see get_editor_property/set_editor_property)

  • capsule (SmartObjectUserCapsuleParams): [Read-Write] Dimensions of the capsule to test at the slot location.

  • use_user_capsule_size (bool): [Read-Write] If true, the user capsule size is got from validation filter and used for testing.