Tag Info

New answers tagged


Yeah, it's not necessary. When you detect a collision between A & B you should do something like: if (detectCollision(A, B)) { A.resolveCollision(B); B.resolveCollision(A); } This may not be how you do it, but you get the idea! If it is a problem that A has had it's values changed after resolving collision with B you could store the variables ...

Top 50 recent answers are included