I am trying to create an fps type game in VR and I have an issue with the projectile spawning when I am shooting. I am trying to have the projectile fire from the muzzle socket on the weapon but whenever I test out the game and pull the trigger to shoot the projectile continues to spawn from the middle of my body instead of from the muzzle of the gun. I don’t know if the problem is because the gun is paired to one of the motion controllers or not. I am using the first person template blueprints so that the game can be played without VR as well.
Make sure you’re using [Get Socket Location] rather than one of the Relative location modes.
Spawning a projectile is a separate class, not a child, so you want world coordinates.
That worked for the most part but I still have a problem with it. Even though my projectile is shooting from the muzzle socket but it isnt shooting straight out of my weapon and is shooting direclty left and right. I don’t know what is causing it to do this. I apologize for my lack of knowledge I have never made an FPS much less a VR game before.
Add an Arrow-Componont to your gun an get his transform like the picture
any chane you could tell me the node you put before the gun… can see the other node its cut off