WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Non-viewpoint, non-physics collisions (https://forum.worldviz.com/showthread.php?t=4165)

nihohit 03-13-2012 03:39 AM

Non-viewpoint, non-physics collisions
 
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

1 Attachment(s)
attached is the code I'm trying out, and fails. It's mostly taken from the physics tutorial.


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

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