Question about embeded Mogre!

boyamer

20-10-2009 13:31:19

Hi all,i have my Mogre render window embeded into Mogre panel and i want to know how can i rotate the camera relative on mouse events?
How can i get winforms mouse relative X,Y?
How can i perform ray queries from winforms position?

Please help

smiley80

20-10-2009 21:00:41

Subscribe to the panel's MouseMove event.
The X, Y and Location property of the MouseEventArgs are relative.