WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-11-2014, 05:56 PM
TopazFrost TopazFrost is offline
Member
 
Join Date: Oct 2009
Posts: 23
Cave Collision problem

Hello,

I am converting a project that was a HMD to CAVE. Unfortunately, doing so massive broke my code due to non-overlapping the function calls and different masks.

Anyway, I have it "ducted taped" for the most part, but there is one problem I do not understand. I am having the same problem as this person:
http://forum.worldviz.com/showthread...cave+collision

Thus, my menu that should stay relative to a person flies away when I run into a wall. BUT, the callback solution in the other thread doesn't fire. In fact, my code throws an error when I even try to change the collision saying the cave origin viewpoint returned by vizcave.CaveView doesn't have that function.

The stepsize() call does not work properly either. I have a few steps and without the CAVE, I climb; with the CAVE I'm stuck at the bottom. This is a problem since I need to implement jumping/floating and I can't even jump onto the first step.

I've tried to implement my own collision detection, but it does not work too well (just a line intersection from my current position .5m off the floor to about .2m in the direction I want to go). If I could get the current position, it would help, but .getPosition() returns a position on the floor, and .getPosition(viz.VIEW_ORI), .getPosition(viz.BODY_ORI) , and .getPosition(viz.HEAD_ORI) all return [0,0,0]

While I'm here, perhaps you can explain another thing I did wrong. With the HMD the participant's eye height works by using viz.eyeheight(); with the CAVE I have to use "view".setPosition() (sort of works). Why did it break?
Reply With Quote
 

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Collision in Corner Cave kerscha Vizard 4 04-23-2015 12:07 PM
A problem with cave apmx Vizard 0 10-28-2013 04:37 AM
Main view collision problem AtomicRaiden Vizard 4 10-06-2011 11:48 AM
Collision problem Dave Vizard 2 09-16-2010 04:25 AM
problem with collision detection paulpars Vizard 6 06-09-2006 06:03 PM


All times are GMT -7. The time now is 02:16 AM.


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