Moving objects with mouse in 3D.
One of the last things I need to do to make my editor to behave..well, like an editor, is allow the user to move objects around in the 3D viewport. If I were doing this in 2D, or included 2D viewports, it would be easy.
However, I need to figure out how to translate objects by the amount the mouse was moved (the easy part), while also moving on the appropriate axis, which I guess would be dependant on the camera orientation (the hard part).
If i'm lucky, this is no more difficult than performing some fancy vector calculation that i'm not aware of.