try to calculate the angle with tangens and rotate the panel with this.
Code:
var angle = atan(mouse_pos.y / mouse_pos.y);



Last edited by Richi007; 05/21/10 18:33.

Visit my site: www.masterq32.de