View Single Post
  #1  
Old 10-12-2009, 09:25 PM
james007 james007 is offline
Member
 
Join Date: Oct 2009
Posts: 2
Navigating an avatar using mouse position(2D) in 3D environment

Hi,

I am trying to navigate an avatar using mouse e.dx and e.dy position in 3D environment.

Could you give any idea to how use e.dx and e.dy to solve the problem?

Thanks

James

(on viz.MOUSE_MOVE_EVENT event, I am having e.dx and e.dy

e.dx
The relative movement of the mouse in the X direction. The value is in raw mouse units. Negative values indicate the mouse was moved to the left. Positive values indicate the mouse was moved to the right.

e.dy
The relative movement of the mouse in the Y direction. The value is in raw mouse units. Negative values indicate the mouse was moved downward. Positive values indicate the mouse was moved upward.

)

Last edited by james007; 10-12-2009 at 09:27 PM.
Reply With Quote