Something I'm unsure of, when the projectile never collides with anything, will it travel forever?Projectiles have two modes, homing, or not homing.
When in homing mode only one projectile can home to a single target, which can cause projectile turrets to not launch another projectile if the first projectile missed the target. When in this mode the projectile doesn't need a collision box.
When not in homing mode the projectile needs a collision box.
Projectile behaviour when homing (and not)
- Stringweasel
- Filter Inserter
- Posts: 405
- Joined: Thu Apr 27, 2017 8:22 pm
- Contact:
Projectile behaviour when homing (and not)
Just some information that I figured out which cost me an few headscratches, which could be part of the documentation for https://lua-api.factorio.com/latest/pro ... otype.html. I believe this could be part of the general description at the top.
Alt-F4 Author | Factorio Modder
My Mods: Hall of Fame | Better Victory Screen | Fluidic Power | Biter Power | Space Spidertron | Spidertron Dock |Weasel's Demolition Derby
Official Contributor to Space Exploration
My Mods: Hall of Fame | Better Victory Screen | Fluidic Power | Biter Power | Space Spidertron | Spidertron Dock |
Official Contributor to Space Exploration
- Stringweasel
- Filter Inserter
- Posts: 405
- Joined: Thu Apr 27, 2017 8:22 pm
- Contact:
Re: Projectile behaviour when homing (and not)
Also, https://lua-api.factorio.com/latest/typ ... #max_range
This is the maximum range this projectile will travel after which it will expire.
Alt-F4 Author | Factorio Modder
My Mods: Hall of Fame | Better Victory Screen | Fluidic Power | Biter Power | Space Spidertron | Spidertron Dock |Weasel's Demolition Derby
Official Contributor to Space Exploration
My Mods: Hall of Fame | Better Victory Screen | Fluidic Power | Biter Power | Space Spidertron | Spidertron Dock |
Official Contributor to Space Exploration