• Console & Mobile Terrarians - news for! iOS and Android out now. PS and Xbox should be very soon. Switch and Amazon are in submission. Great way to end the year - everyone on the same version of Terraria! More details HERE.

PC Testing the maximum distance for a Portal Gun Station


Decided to do a little testing with the portal gun station regarding how far it can shoot.

I have my portal gun station set up here

I'm not sure whether Terraria uses the player's left half or right half for determining horizontal position, but I'm just going to be using relative coordinates so my measurements will be taken from my player's left half.

Here's where I have my target set up.

This is what happens when you fire the gun at the wall when it's two blocks thick

And this is what happens when you fire at the wall when it's just one block thick

So the results are in, and it turns out a portal gun station can shoot a wall a maximum of 674* blocks away from the end of it's barrel!

*Thanks to @critcodedtuna for pointing out I needed to divide by two.
Last edited:


Going from compass measurement to blocks, you need to divide by 2 since one block is 2 feet. 674 blocks is still nothing to sneeze at though.


Nice research there. Going by what the code says, I can confirm a maximum travel distance of 3600 updates * 3 pixels/update / 16 pixels/tile = 675 tiles. Since the projectile isn't created at the very front of the barrel, it can't traverse the final block though.

Also, in case you're wondering about those numbers: The portal bolt gets 30 (maybe 31?) updates per game tick, so the whole deal takes only two seconds.
Top Bottom