View Full Version : Do you have more instruction for COLLISION_EVENT

08-12-2003, 08:11 AM
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?

08-12-2003, 09:21 AM

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.