Module jumpy::core::attachment

source ·
Expand description

Utilities for attaching entities to other entities.

There are two kinds of attachments: Attachment and PlayerBodyAttachment.

Attachment just makes one entity follow another, with some special handling for sprites, and the PlayerBodyAttachment specifically matches the player’s body movement animation to make sure that, for example, a held item will bob up and down with the player.

Structs§

Functions§