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. ) |
Can you be more specific in how you want to control the avatar? Do you want a First-person-shooter type control? Have you looked at the Viewpoint control tutorial?
|
All times are GMT -7. The time now is 05:30 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC