collision detection optimazation

gia an min katanalwnei poli mpataria to collision einai apenergopoiimeno
kai energopoieitai otan o xristis patisei to show collision.