WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 05-10-2009, 01:10 PM
Chrissy2009 Chrissy2009 is offline
Join Date: May 2009
Posts: 33
"viz.collision(viz.ON)" PROBLEM

Hi all,

I want to activate collision detection for the camera and one specific object, so that I'm only able to move the camera inside of a room, and it should not be possible to move it outside.

If I use the command: viz.collision(viz.ON) I've got the problem, that the camera always falls at the bottom of the room. If I want to move it up, it automatically falls down.

I've also tested it at the and included some commands to move the camera up and down. But the problem is the same as in my scene.

Therefore I'm looking for a collision detection between to objects. The camera and my room.

Thanks for all your ideas.
Reply With Quote
Old 05-10-2009, 03:13 PM
Jeff Jeff is offline
WorldViz Team Member
Join Date: Aug 2008
Posts: 2,471
You can turn off gravity on the viewpoint so that when collision detection is on the viewpoint won't drop back to the eyeheight you're using. Take a look at this page in the docs on viewpoint collision and gravity.

You can also set the eyeheight of the viewpoint using
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
Vertex shader performance problem Joran Vizard 2 11-17-2008 01:29 AM
export problem bazelaisr Vizard 2 05-28-2008 10:19 AM
5DT Data Glove 5 Ultra Problem bjgold Vizard 1 08-08-2006 04:08 PM
problem with female animations vmonkey Vizard 1 10-07-2005 10:36 AM
sound problem alaa Vizard 7 09-02-2005 01:13 PM

All times are GMT -7. The time now is 09:33 AM.

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