PDA

View Full Version : Non-viewpoint, non-physics collisions


nihohit
03-13-2012, 03:39 AM
Hi,
I'm trying to create a function in which, when a hand (controlled by a 5dt glove) touches objects, a certain onCollision(touchedObject) will be called.

From the manual and my failed attempts, I understood the the viz.COLLIDE_NOTIFY and viz.COLLIDE_BEGIN_EVENT flags are relevant only for viewpoint collisions. Are there other commands that can be used?

Thanks,
Shachar

nihohit
03-14-2012, 07:29 AM
attached is the code I'm trying out, and fails. It's mostly taken from the physics tutorial.