Register  |  FAQ  |  Search  |  Memberlist  |  Usergroups  |  Log in 
Reply to topic
 mouse speed? 
liverol


Joined: 29 Jun 2007
Posts: 45
Reply with quote
hi there,
so any way to get the mouse speed(or mouse delta,2 values:mousexspeed and mouseyspeed)?
i want to use mouse to rotate a mobile(not the default mouse camera control style),
i think i must get the mouse move speed to set the mobile rotation,am i right?
View user's profile Send private message
  
Vincent


Joined: 25 Dec 2006
Posts: 296
Reply with quote
you should coding in the OnMouseMove() and OnMouseWheel() functions of User Script File.
if you want to disable default mouse action, there are some functions, see CameraMovementSwitch(), EnableAccel() and SetInputStyle().
View user's profile Send private message
 but how? 
liverol


Joined: 29 Jun 2007
Posts: 45
Reply with quote
i know onmousemove(),but how can i get the delta value,
would you please give some hints
View user's profile Send private message
  
awingsoft
Site Admin

Joined: 25 Dec 2006
Posts: 98
Reply with quote
no detal, you received mouse messages, and how to explain messages is your own matter. For example, for a 1 mouse x offset, you can rotate object by one degree, two degrees, or any degree.
View user's profile Send private message Send e-mail
 get it 
liverol


Joined: 29 Jun 2007
Posts: 45
Reply with quote
yes,understand now Smile
View user's profile Send private message
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic