WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Collision detection without stopping view (https://forum.worldviz.com/showthread.php?t=5162)

Notch 09-09-2014 04:53 AM

Collision detection without stopping view
 
I'd like to detect collisions, but don't want collisions to prevent the view from moving forwards. In other words, I'd like the player to pass through objects, but to be able to register the fact that an object was passed through.

Adding the following line to my code allows me to register collisions, but unfortunately it also means that the player can no longer pass through objects.

Code:

viz.collision(viz.ON)
How do I do this?

Jeff 09-09-2014 09:52 AM

You can use proximity sensors to detect when the viewpoint enters/exits the bounding area of an object.


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

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