WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 08-12-2003, 09:11 AM
sled sled is offline
Join Date: Jun 2003
Posts: 31
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?
Reply With Quote
Old 08-12-2003, 10:21 AM
farshizzo farshizzo is offline
WorldViz Team Member
Join Date: Mar 2003
Posts: 2,849

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.
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 08:16 AM.

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