WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #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
  #2  
Old 10-16-2009, 11:29 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
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?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
avatar scale and link.setpos conflict? sircedric4 Vizard 0 09-29-2009 07:48 AM
Collision of an avatar with a quad Frank Verberne Vizard 8 06-04-2008 09:44 AM
Looking through the eyes of an avatar Frank Verberne Vizard 2 04-01-2008 05:52 AM
Getting a mirror to work in any environment Frank Verberne Vizard 5 03-27-2008 08:21 AM
How to make avatar's eyes to blink when speaking michelcm3 Vizard 12 01-15-2008 08:48 AM


All times are GMT -7. The time now is 12:14 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC