View Single Post
  #2  
Old 04-28-2005, 10:37 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

Take a look at the following thread http://www.worldviz.com/forum/showth...3?threadid=283 .

A few posts down there is an explanation of all the collision functions. What you need to do is define the collision type of each object (i.e sphere, box, mesh). After that, to check if the objects are colliding you would do the following:
Code:
object1.collidesphere()
object2.collidemesh()
if object1.collidingwith(object2):
    print 'Objects are colliding'
Reply With Quote