Skip to content

Projections

Projections

Projections are reusable physics-driven objects projected from a source into the world to interact with the environment and other actors on a map. A projection can be launched and travel — like an arrow, fireball, or thrown item — or it can be statically positioned relative to its source, like the hitbox of a sword swing in front of a hero, a melee shockwave, or an area-of-effect zone that follows a battler.

Each projection is built from a list of elements that define its shape, motion, lifetime, collision behavior, and the effects it triggers when it interacts with the world. The same projection definition can be reused by any number of skills, scripts, or systems that need to spawn dynamic physics into the scene.

![Maps.Projections](Maps.Projections.png)

Note: Despite the name, projections are not limited to projectiles. The defining trait is that they are spawned from a source — a battler, an entity, a script — and given their own physics presence in the world. Use projections for any case where you need a temporary, source-relative physics body to exist on the map and react to what it touches.

Properties

System

Name Explanation Type
Name String