Projectile Ammo
The ProjectileAmmo script is the base logic used for any standard projectile in the game. It manages direct collisions and relays damage through the DamageData structure.
Add Component: Glowing Rifts > Modular Weapon > Projectile Ammo
This component is ideal for single-target projectiles that donโt require splash damage.
๐ Inspector Fields

| Field | Description |
|---|---|
| Speed | How fast the projectile moves forward (units per second) |
| Lifetime | How long the projectile exists before despawning or recycles through pooling |
| On Impact (DamageData) | Triggered when the projectile hits something. Use this to play VFX, SFX, or apply gameplay effects. |