Navigation problem
Hi all,
I have a simple CAVE navigator: You point the tracked wand in the direction you want to fly and push the joystick forward. It's implemented by linking the following to the CaveView object: Code:
class SyzygyNagivator(viz.VizNode,viz.EventClass): |
When viewpoint collision is enabled a collision event will be generated when the viewpoint collides with an object. Information about the collision, including position, is available.
Code:
import viz |
Actually, I am using the CaveView. The problem is the the collision callback even only works 50% of the time. I hit a wall, and sometimes it shows up, then the next time it won't. Changing the step size seems to help a bit, but not enough for a user not to get stuck on a regular basis.
|
The collision detection works as expected with a simple vizcave example. Try adding collision detection to the script on the following page and just move the viewpoint with arrow keys:
http://docs.worldviz.com/vizard/#vizcave_powerwall.htm Perhaps other code in your script is interfering with the viewpoint movement or collision code. Can you post a simple example that reproduces the issue? |
All times are GMT -7. The time now is 06:50 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC