It?¢_Ts quite possible that no one has written proper generic collision detection code in pascal, most people just use physics libraries which do it for them