Sunday, December 18, 2011

How to write a code for collision detection?

I have two objects that move randomly, I would like them to move away from each other once they collide, but i'm a bit confused on the code. If anyone can explain how to write a code for collision detection, i'll be very grateful.

No comments:

Post a Comment