I’m currently using an overlay camera to present the player POV. However theres an issue with getting the right position for the spawn origin and direction. Here’s my attempt which unfortunately not only requires extremely low values i.e. .0002f but has wonky scaling. The reason I’m using an overlay FPS camera is to keep the angles consistent
The next question would be to why line 6 instantiates the bullet in one place but line 7 moves it from a different point. EDIT: never mind, perhaps I’m not reading your Move() method correctly… either way though… long lines of code! Break 'em out so you can debug them.
This is the hazard of long hairy nasty lines of code.
If you have more than one or two dots (.) in a single statement, you’re just being mean to yourself.
Putting it all one one line DOES NOT make it faster. That’s not how compiled code works.
I tried it and it doesn’t seem to work. However, I downloaded the FPS project and setup my camera exactly as how they did it and its working properly now. Basically just place the overlay camera as a child of the main camera.