I’m working on a VR rail shooter for the Oculus Rift and have been able to pick up the gun using the touch controllers, but can’t figure out how to make the line trace shoot from the gun instead of where the HDM is looking. I have the gun as a separate blueprint from the player blueprint, unless it would be better(or make more sense) to add the gun to the player’s blueprint. I want to use line trace as the gun will essentially be a laser tag type system.
Ultimately I’d like to spawn with the gun attached to the motion controller or be able to pick it up at the beginning; whichever is easier for getting the line trace to work.
Still trying to wrap my head around blueprints so any and all advice is appreciated, thanks!