Small demo of the current state of the refactoring on Tuning Game 3D.
The code has been completely torn apart, some features have been moved to the engine, the rest is currently heavily refactored.
One of the things that works much better than before is the localisation of the pointer when the user is grabbing an object: the screen is projected onto the “ground” (the floating pink box at the middle of the “room”) in a proper way. Once grabbed, the mouse is not moving in the screen space but on the surface of the ground. This may seems odd when explained, but it’s very intuitive when you controlling the mouse.
[to be continued]