#1
|
|||
|
|||
collideNone() failing to stop collision
Hi, I'm using object.collideNone() to stop the viewer from colliding with 'ghost' objects in our maze - but it still seems to collide. (with weird jumpy/falling results)
I don't want to set <viewpoint>.collision(viz.OFF), as this stops the viewer from walking through walls. I'm sure this must be in the documentation somewhere - but I can't find it. Any suggestions? |
#2
|
|||
|
|||
Found it
mazeObject.disable(viz.COLLISION) will stop the viewer from bumping into an object. object.collideNone() no effect - I assume it is just for the objects benefit. s. |
#3
|
|||
|
|||
disable(vis.COLLISION) is not mentioned anywhere in the manuals.
[vis.INTERSECTION gets a mention under node3d.disable - but not vis.COLLISION] Last edited by spdegabrielle; 05-07-2009 at 09:22 AM. Reason: typo/clarity |
#4
|
|||
|
|||
Maintaining up to date docs is a challenging task for Vizard (or any 3D engine). Is certainly no excuse of course.
I work with the viz.py and vizact.py files open in Vizard and constantly reference them as I code. It's one of the benefits of Vizard's openish architecture. The object.collideNone() function removes rigid body physics shapes from a node. A separate system from the viz.COLLISION stuff.
__________________
Paul Elliott WorldViz LLC |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Collision detection with specific models | just alex | Vizard | 1 | 02-06-2009 11:02 AM |
Collision with child nodes | rubberpimple | Vizard | 4 | 09-17-2008 04:27 PM |
collision with physics enabled | joeymax | Vizard | 2 | 04-17-2008 02:49 PM |
Collision detection with haptic pen | mjabon | Vizard | 3 | 01-17-2008 06:35 PM |
collision events trigger | Eunice | Vizard | 1 | 01-03-2006 10:39 AM |