unreal.AttachmentRule
¶
- class unreal.AttachmentRule¶
Bases:
unreal.EnumBase
Rules for attaching components - needs to be kept synced to EDetachmentRule
C++ Source:
Module: Engine
File: EngineTypes.h
- KEEP_RELATIVE¶
Keeps current relative transform as the relative transform to the new parent.
- Type
0
- KEEP_WORLD¶
Automatically calculates the relative transform such that the attached component maintains the same world transform.
- Type
1
- SNAP_TO_TARGET¶
Snaps transform to the attach point
- Type
2