I’m having a huge struggle dealing with parallax issues with my flame thrower. (Making it come out of the barrel but hit in a straight line from the camera).
projectiles and beams are easy.
Projectiles I just do a flash and shoot a bullet out the camera.
Beams I make a fake beam look at where my raycast from the camera hits.
Flame thrower though is just painful to look at no matter how I handle it.
With my plasma a I took a page from quake 3 and have it do an initial jump so you don’t see that it’s not coming out of the barrel.
But with the flame thrower I am at a loss.
Coming out of the barrel and shooting towards the center messes up aiming.
Facing the flame thrower at a raycast hit kinda works but gets screwy when approaching walls and enemies.
Doing a particle effect that moves towards an invisible collider makes it bend in the air and also it’s very noticeable when things are catching fire that aren’t near the particle emitter.
How do games like team fortress 2 do it so well???