Avatar
My application requires the avatar to walk for unknown distance and direction; mouse or keyboard should control the direction. How vizard do that?
Any suggestion would be really appreciated. Thanks, |
Within your keyboard callback function get the avatar's position and, for example if viz.KEY_UP is pressed, create a walkTo action where the z value is incremented. Something like this
Code:
pos = avatar.getPosition() |
All times are GMT -7. The time now is 03:30 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC