WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-08-2010, 12:16 PM
imperialkat imperialkat is offline
Member
 
Join Date: Jan 2010
Posts: 9
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?
Reply With Quote
  #2  
Old 02-08-2010, 12:40 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
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.
Reply With Quote
Reply


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

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


All times are GMT -7. The time now is 12:03 PM.


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