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

Keeps current relative transform.

Type

0

KEEP_WORLD

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

Type

1