Skip to content

Bullet

Bullet is the X4 engine class for projectiles fired by weapons β€” laser pulses, plasma bolts, etc. (Missiles are a separate subclass.)

  • .damage β€” damage dealt on hit
  • .lifetime β€” how long the bullet exists
  • .velocity β€” projectile speed

Bullets are spawned by Weapon on firing. They impact targets, deal damage, and despawn.


Stub page β€” full bullet reference coming.