VR Expansion Plugin

Inverse transform the position to be local to the gun, you don’t want to do in world space, making it local to the gun gives you only the forward (X…Y for marketplace guns) axis to worry about.