Expand description

Contains the plugin and its helper types.

The ShapePlugin provides the creation of shapes with minimal boilerplate.

§How it works

The user spawns a ShapeBundle from a system in the UPDATE stage.

Then, in [Stage::Shape] stage, there is a system that creates a mesh for each entity that has been spawned as a ShapeBundle.

Structs§

  • [SystemSet] for the system that builds the meshes for newly-added or changed shapes. Resides in [PostUpdate] schedule.
  • A plugin that provides resources and a system to draw shapes in Bevy with less boilerplate.