WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Avatar walking + camera free look (https://forum.worldviz.com/showthread.php?t=3866)

kovitch 08-05-2011 08:31 AM

Avatar walking + camera free look
 
Hi,

I'm using the code provided in the following link:
http://forum.worldviz.com/showthread...avatar+walking

In this example, in order to change the moving direction, we can use the mouse click by performing a click on the scene, holding and moving the mouse in any direction.

Is there a way to use the mouse direction to navigate without having to click&hold on the scene?

Best regars,

Alex.

Jeff 08-05-2011 01:41 PM

The code there uses vizcam.PivotNavigate to change the orientation so you could create your own custom PivotNavigate class to modify that behavior. It may just be a small change within _camMouseMove where the button state is checked before rotating the view.

kovitch 08-08-2011 07:57 AM

It worked, thanks for the tip! :)


All times are GMT -7. The time now is 03:08 AM.

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