Provides homing and linear projectile movement systems, plus
automatic collision-to-damage integration.
When the collision plugin uses a typed layer map, pass the same layer union
as the second generic parameter, for example
createProjectilePlugin<'combat', LayersOf<typeof layers>>().
Create a projectile plugin for ECSpresso.
Provides homing and linear projectile movement systems, plus automatic collision-to-damage integration. When the collision plugin uses a typed layer map, pass the same layer union as the second generic parameter, for example
createProjectilePlugin<'combat', LayersOf<typeof layers>>().