#1
|
|||
|
|||
Collide
as I can generate an action after the collision of two models
mod1=viz.add('ball.wrl') mod1.collideMesh() mod2=viz.add('ball.wrl') mod2.collideMesh() if mod1 collide with mod2: print "collision exists" |
#2
|
|||
|
|||
The Callbacks and Complex Shapes tutorial shows how to handle collision events when using physics. In the callback function for the collision event you can call the action.
|
Tags |
collide |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
collide | 7up | Vizard | 2 | 10-31-2010 06:35 PM |
Collision problem | Dave | Vizard | 2 | 09-16-2010 04:25 AM |
Collide mesh on child objects | Enlil | Vizard | 1 | 08-31-2010 05:52 PM |
Collide Surface Problem | Boerske | Vizard | 0 | 10-05-2009 12:14 PM |
Registering 2 objects to show the collide | djones1010 | Vizard | 1 | 03-25-2009 12:35 PM |