Bullet
Bullet is the X4 engine class for projectiles fired by weapons β laser pulses, plasma bolts, etc. (Missiles are a separate subclass.)
Properties
Section titled βPropertiesβ.damageβ damage dealt on hit.lifetimeβ how long the bullet exists.velocityβ projectile speed
Common context
Section titled βCommon contextβBullets are spawned by Weapon on firing. They impact targets, deal damage, and despawn.
Related
Section titled βRelatedβ- Weapon β bullet emitter
- Explosive β parent class
- Countermeasure β defensive against bullets
- Missile β guided variant
Stub page β full bullet reference coming.