The model has extremely bizarre and random rotation values (which is probably why the gun fires in a weird direction).
Not only does the camera have random rotation values like the gun, but it also has random offset values, which means the player is literally bizarrely lopsided. What is the reason for this?
The bullet entity has random offset values, meaning that the bullet will not fire from where it logically should (please tell me what the purpose is for offsetting the bullet to the side of the gun by -0.016). Not only that, but for some reason the bullet is rotated 5 degrees, meaning that the bullet wont even go where the gun is pointing. Why is this the case?
You have an entire template dedicated to a single plane and a single light. Why?
Not only are the bullets and the crosshairs not aligned, not only are neither of them pointing where they should, but the texture for the crosshairs itself is somehow misaligned. I dont even know how you managed to do that. How did you not notice any of this? Also, the texture has a height and width of 225, not a power of 2 number, which it should be.
I thought the texture on the gun looked weird, so I opened it and apparently its this. What even is this? And why is it on a model 1911? This texture is literally 14.1 mb, and I dont even know what it is. That is insane.
For some reason you imported 6.22 mb of 3d model related stuff, and the vast majority of it (literally everything except the 1911 frame and the bullet) is completely unused. You also imported 41.2 mb worth of textures, and most of them are random patterns and shapes, which like the models are never used. I mean, what is this even supposed to be. Seriously tell me what this is.
The second scene, “TestScene”, is nearly indistinguishable from the first one, the only difference is a single box that does nothing. Do you really need 2 scenes that are identical aside from a single box?
The camera is never clamped and can flip upside down infinitely. Why do you allow this?
Strangely enough I have no idea what error you are talking about. The rotations seem fine and the camera never rotates in ways it should not. The only thing I could think of is that if you change any size value of the player to anything other than exactly 1 the player will try to collapse like a neutron star.
Thanks for telling me of all the problems in my project. I’m still a beginner in PlayCanvas. The problem was that in the “BedScene” has a 3D model of a cottage/house. When I added it into the scene and launch the project, it wasn’t an error, just a bug. I can’t really explain what the bug is like so just try it out yourself and tell me if its just a problem from my computer or something in the lines of that.
When you launch the project after, the bug is there. Its like the camera rotated for some unknown reason because the model is in the scene. When the model isn’t in the scene, the bug doesn’t occur and its normal.
Oh like the stuff in the blender starting scene that they just forgot to remove? Its actually neat that playcanvas can recognize a blender camera and automatically insert its own camera in its place.