I’m trying to build a FPS type game, and I need help getting the code correct.
I got a sphere to form when I left click, but it disappears when I move, and it always forms at the origin. What I want is for the sphere to form in front of the camera that is set up in the scene, and for it to launch forward when I release the left click.
Can someone help me build this code?