Timeline for Always rotate in the direction of mouse movement
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 9, 2015 at 21:50 | comment | added | Nero | @Patrick Moving the mouse back without releasing the mouse button while rotating an object usually leads to the same result as if the mouse had not been moved e.g. up and back down at all. I added a few words about this (pretend the mouse moved instantly to the current position). | |
Dec 9, 2015 at 21:44 | history | edited | Nero | CC BY-SA 3.0 |
Added 2D case for rotation/translation, added more detail to implementation
|
Dec 9, 2015 at 7:00 | comment | added | Patrick | The theory is clear, but how would one go about implementing it? The 2 rotations I used in my example could be done without releasing the mouse inbetween, so there isn't really a clear cut line between them. The user may even go crazy and rotate up left down left which could yield something like cameraRotation.X = 0 cameraRotation.Y = 200, which says nothing about the actual ordner in which the transformations happened. | |
Dec 9, 2015 at 5:59 | comment | added | joojaa | Ok this does answer the question. Hovewer, the explanation probably reqjires one to knpw the answer before understanding. Yould you drop down the abstraction a bit. | |
Dec 8, 2015 at 22:46 | history | answered | Nero | CC BY-SA 3.0 |