#1
|
|||
|
|||
making in-world interactions
Lets say I have a moving ball and a tex quad. By turning on collision I can get the ball to bounce off of the quad (basically). Is there any way to make the ball do other things when it comes in contact with the quad? For example, what if I wanted it to pass through the quad but slow down or change color?
|
#2
|
|||
|
|||
You can use viz.COLLIDE_BEGIN_EVENT to notify your script when a collision between two objects occurs. You need to enable viz.COLLIDE_NOTIFY on all objects you want to trigger collision events. You can find more information and sample code here.
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
making doors open with clicking on them using a mouse | 5ky1ine | Vizard | 7 | 03-29-2010 06:30 AM |
why is time faster in my virtual world? | billjarrold | Vizard | 1 | 11-24-2009 05:33 PM |
button in the world | guxmy01 | Vizard | 1 | 06-10-2008 04:37 PM |
What are the options for making a movie of a Vizard world? | Karla | Vizard | 1 | 05-13-2008 10:56 AM |
General Questions about Vizard: World Viz | dav | Vizard | 5 | 08-28-2006 03:44 PM |