Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  Viewpoint Tips, Tricks & Hacks    Dynamically Changing Mousespeed

Moderators: e_phoenix13
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Member
Posted
Anyway to make
<MTSInteractor Name="Mouse_Speed">
<OnDrag Action="MTSCameraNavi" _dx="MTSEvent::_dx_" _dy="MTSEvent::_dy_" _scale="0.75"/>
</MTSInteractor>
dynamic so i can have different speeds?
 
Posts: 38 | Registered: July 04, 2006Reply With QuoteEdit or Delete MessageReport This Post
EnIgMaTiCScOrPioN
Member
Picture of e_phoenix13
Posted Hide Post
Hi Dr.

How would you generate the dynamic value? Try this to start off...
<MTSAction Name="myAction" >
<MTSCameraNavi _dx="MTSEvent::_dx_" _dy="MTSEvent::_dy_" _scale="newVal" />
</MTSAction>

<MTSInteractor Name="Mouse_Speed" >
<OnDrag Action="myAction" newVal="dynamicValue" />
</MTSInteractor>


Also this action can be triggered through JS and the values can be assigned from there too.
Let me know more about your application, so I can help you out.

Cheers,

Anup
 
Posts: 557 | Location: India | Registered: February 12, 2003Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 

Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  Viewpoint Tips, Tricks & Hacks    Dynamically Changing Mousespeed