Thread: Collision Help
View Single Post
  #2  
Old 04-18-2013, 10:37 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Please post code using the code tags to preserve the indentation. You can find out which Vizard nodes collided from the event object e passed to the collision callback function. Take a look at the Event Reference page for more information.

If viz.COLLIDE_NOTIFY is enabled on the balls you can check to see if e.obj2 is the greenBox and you'll know a ball collided with it.
Reply With Quote