The railgun effect in ZDoom classifies neither as a hitscan nor as a projectile attack. It consists in a line that hits instantaneously and pierces through actors, obstacle and enemies alike, until it hits a wall, surrounded by a particle helix. However, autoaim does not work on player rail attacks, so free look is required.