Right click camera movement independent of rotation

Hey y’all!

Another post on the topic of right click camera movement.

I had a problem when switching camera perspectives i.e., camera rotation as it was adding always to the absolute world location. Therefore, I made it find the current player forward and right vector and based off of that increment the player pawn position in the world.

Hope this helps anyone, because it was a bit annoying to me :)!