#5
|
|||
|
|||
Sorry, I didn't pay attention to the subject here. In my last post I was referring to collisions regarding the physics engine. When handling viewpoint collision, the event object passed to the callback function has information about the node collided with, the point of contact and the name of the subnode:
http://docs.worldviz.com/vizard/Even...OLLISION_EVENT The viz.COLLIDE_NOTIFY flag you mentioned is related to collision events with the physics engine, not viewpoint collision. When you enable viewpoint collision all objects will automatically be included. You can disable viewpoint collision for a specific object: Code:
object.disable(viz.INTERSECTION) Code:
def onCollision(info): if info.object == cube: #open door viz.callback(viz.COLLISION_EVENT, onCollision) |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Collision problem | Dave | Vizard | 2 | 09-16-2010 04:25 AM |
Freeform view on an animated object problem | jaylocco | Vizard | 2 | 06-08-2009 08:09 PM |
view problem | nlfrnassimi | Vizard | 3 | 03-11-2009 08:33 PM |
problem with stereo mode | shivanangel | Vizard | 3 | 10-17-2006 09:58 AM |
problem with collision detection | paulpars | Vizard | 6 | 06-09-2006 06:03 PM |