Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

How to shoot straight to the center of camera instead of shooting bullets fromt the side with an angle? What should i use instead of "WithThreeJS::CameraAngle("Y")-90"?

For example, i have an object with Linked 3d camera. How to shoot straight in front of the camera from the center of the camera? Why the camera looks to the left of the object? How to turn the camera to look to the front direction? Anyway how to shoot straight?

CenterY?