View Single Post
  #2  
Old 09-12-2006, 11:02 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
The current Beta version of 3.0 does not implement the collidingwith function. However, there is still a way to detect whether two nodes are colliding. The viz.phys.intersectNode() function will return a list of all the nodes that a node is currently colliding with. Example:
Code:
if node2 in viz.phys.intersectNode(node1):
    print 'Node 1 is colliding with Node 2'
Reply With Quote