Is there someone that would like to show me a good collision detection algorithm between two sprites (e.g. two balls) that move with a costant speed and bounce on edges? Thanks in advance
Offline
This one by colkadome seems to work really well...
http://scratch.mit.edu/projects/Colkadome/115120
Offline
Thanks a lot Paddle2See. Colkadome's project is indeed a very neat pool simulation. I'm going to see if I can modify it so to get the constant speed effect that I need.
Offline
I extracted the collision routine from Calkadome's project, simplified it a bit (I hope not to much) and put it in the "perfect collision detection with bounce" project (http://scratch.mit.edu/projects/s_federici/155861).
Thanks a lot for your help
Offline