![]() |
#2
|
|||
|
|||
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' |
|
|