#1
|
|||
|
|||
real time collision on animation path
Hello,
I'd like to simulate some cars running on the road without crash. Cars are animated by animation path and those paths have intersection. I use .collideBox() and .enable(viz.COLLIDE_NOTIFY) for each car for collision. But I don't exactly know how to handle collision event in the callback function. Because once two cars are about to collide, I need one car to speed up and the other to slow down. But my program have no idea which car should speed up and which car should slow down. Does anybody have a solution for that? Thanks, whj |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Real Time Audio Data | lomendil | Vizard | 2 | 06-02-2008 09:18 PM |
Can I get real time Intersense tracking data from another computer on the network? | GoldenSun | Vizard | 4 | 04-30-2008 08:42 PM |
timer question | Elittdogg | Vizard | 5 | 10-10-2007 03:49 PM |
Animation Path | djdesmangles | Vizard | 2 | 06-11-2007 04:37 PM |
Animation Path | djdesmangles | Vizard | 0 | 06-06-2007 12:03 PM |