Rotating object to face mouse
I am very sorry to bother you, but I am really lost here.
I'm simply trying to rotate color cube to face my mouse but I failed every attempt. I spent 4 days looking around internet and google probably doesnt even want to see me typing anything related to mouse for a long time. I would be very happy if you could point me to some path because I tried everything I know, even what I didnt know. I am having MouseMotionListener sensing every movement from my mouse and trying to set rotation to my cube so it is looking at that gorgeous mouse. I lately decided it wont be a bad idea to make a bit simple 3D game, so without this I'm not moving anywhere. Peter