So, I want to be able to rotate a 3D Shape by the mouse being clicked and dragging it anywhere on the window where the cube is; it will then change the rotation of the cube until the script is closed or you click and drag your mouse to how you would want to rotate it, then the rotation will go back to how it was before that if the script is closed after that. I have the cube already in Pygame, I have a variable that gets the mouse position, I have a variable that gets the mouse in general, I just don't really know how to do this right now. Any help would be appreciated. Here is the script: https://paste.pythondiscord.com/ixowagolaq.
#Help With A 3D Shape In Pygame
4 messages · Page 1 of 1 (latest)