I have a ball set as a dynamic physics body which correctly hits static bodies, but if I set the ball to be of kinematic body type it just goes through the static bodies!?
Does collision detection not work with kinematic and static bodies or do I have to implement it in a different way?
No, it doesn’t. Search on this doc page for the word “kinematic” and it will explain:
http://developer.coronalabs.com/content/game-edition-physics-bodies#bodyType_Constructor
Essentially, kinematic are for moving objects around as with a touch joint, but not for use in collisions or with gravity, etc. ie: no forces affect them.
No, it doesn’t. Search on this doc page for the word “kinematic” and it will explain:
http://developer.coronalabs.com/content/game-edition-physics-bodies#bodyType_Constructor
Essentially, kinematic are for moving objects around as with a touch joint, but not for use in collisions or with gravity, etc. ie: no forces affect them.