WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Do you have more instruction for COLLISION_EVENT (https://forum.worldviz.com/showthread.php?t=51)

sled 08-12-2003 08:11 AM

Do you have more instruction for COLLISION_EVENT
 
I find the COLLISION_EVENT in your help document ->events table, It Occurs when the viewpoint collides with an object in the scene.

I have some question about it.

first, if the object is a moving object, for example , a running car,does this event occur when my viewpoint collides with it?

second, if two moving objects have collision, does this event occur?

third, can I handle several COLLISION_EVENTs at same time?

farshizzo 08-12-2003 09:21 AM

Hi,

You will get a COLLISION_EVENT whenever the viewpoint collides with any object in the scene, even a moving object. You will NOT get a COLLISION_EVENT when two other objects in the scene collide. We are planning on adding a physics engine in the future, this would allow to detect collisions between other objects. I'm not clear on your last question. Are you asking if you can have more than one callback for COLLISION_EVENT? If that was your question then the answer is no, currently you can only have one callback for each event, but we are planning on allowing more callbacks. If I misinterpreted your question please tell me.


All times are GMT -7. The time now is 08:34 PM.

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