[obj c] Box2d __ fast collision detection
Imaging, there are 20 types of objects. 


What a fast method to detect what object collide now in Box2d ?


I mean, that scan with switch//if is not fast
[obj c] Box2d __ fast collision detection
===

Imaging, there are 20 types of objects. 


What a fast method to detect what object collide now in Box2d ?


I mean, that scan with switch//if is not fast