unreal.DetachmentRule

class unreal.DetachmentRule

Bases: unreal.EnumBase

Rules for detaching components - needs to be kept synced to EAttachmentRule

C++ Source:

  • Module: Engine
  • File: EngineTypes.h
KEEP_RELATIVE

0 – Keeps current relative transform.

KEEP_WORLD

1 – Automatically calculates the relative transform such that the detached component maintains the same world transform.