unreal.DetachmentRule¶
- class unreal.DetachmentRule¶
Bases:
EnumBaseRules for detaching components - needs to be kept synced to EAttachmentRule
C++ Source:
Module: Engine
File: EngineTypes.h
- KEEP_RELATIVE: DetachmentRule = Ellipsis¶
Keeps current relative transform.
- Type:
0
- KEEP_WORLD: DetachmentRule = Ellipsis¶
Automatically calculates the relative transform such that the detached component maintains the same world transform.
- Type:
1