WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   None Rendered Barrier? (https://forum.worldviz.com/showthread.php?t=5045)

TopazFrost 05-23-2014 09:46 AM

None Rendered Barrier?
 
I've noticed a weird problem in some of my worlds. Collision detection just doesn't work quite as well when moving backward.

For example, I have a open window. If I try to go through it forwards or even at an angle, I'm stopped every time. If I go backwards, I go past 50% of the time. It is also a problem with more complicated meshes.

My solution was to add a simple polygon planes or boxes around problem objects with a transparency of 100%. It works, but now it is rendering slower due to the transparency. Is there anyway to mark a node as "use for collision" AND "don't render"?

Jeff 05-27-2014 04:31 AM

You can disable viz.RENDERING on the node. It will be used for collisions but not displayed:
Code:

object.disable(viz.RENDERING)

Jeff 05-27-2014 04:46 AM

You could also create a low poly alternative of the main model just for collision detection. On that you disable rendering and on the visible mesh you disable intersection. That would help if you're still having issues with framerate drops.

TopazFrost 05-27-2014 07:10 PM

Thank you!


All times are GMT -7. The time now is 11:29 PM.

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