nanos world API Reference Unofficial documentation
Enums

AttachmentRule

3 values

Name Value Description
AttachmentRule.KeepRelative 0 Will keep the current relative position/rotation if already attached.
AttachmentRule.KeepWorld 1 Will calculate the new relative position/rotation so the Actor stays at the same position after being attached.
AttachmentRule.SnapToTarget 2 Will set the Actor to the same position/rotation as the parent actor (or at the bone location) and reset its relative position/rotation to zero.