I am trying to create a rotation system around my object so that when i hold down left mouse button and move the mouse, the camera rotates round the character and when you let go of it, the view stays where it is. Once you let go, you can use the custom mouse pointer to click on items in the scene.
I have the problem that when you rotate the camera, the pointer snaps to the center of the screen (when i want it to stay in place) and jolts the camera. I am aiming for a way to have a similar system to the game World of Tank/Tank Force for reference. Any idea of how i could achieve this?
If you move the mouse in x-direction (which is the left-to-right direction), the empty will rotate around it’s z-Axis.
Make sure you uncheck “Reset”, because this will shift the mouse cursor to the center of the screen.
how to make the camera, after clicking the left mouse button, fast moving and releasing this button, the camera continued to move in the right direction, but gently slowing down to zero. Just like on the sketchfab page, how do you want to view a 3d object
Unfortunately, I did not find any script in python that would match what I want to get, but I found a script in C # for Unity3D. The question is whether this script can be “converted” to python, or Unity uses some magical functions that BGE python Api does not have??
This is not the point … simply rotate the camera around the object, and stop it immediately when you release the right mouse button that I can do. I need the camera to release the right mouse button gently and continue the movement to stop