0
\$\begingroup\$

What I want to know is if both b2-static and dynamic bodies have automatic collision detection.

And how do I tell box2D what it should do when it collides with a specific body?

\$\endgroup\$
1
\$\begingroup\$

You should follow some tutorials as you are learning Box2D. Every body in Box2D has collision detection unless disabled. There are many way of checking collisions, here they're explained well:
http://www.iforce2d.net/b2dtut/collision-anatomy

Also do some research please, things like this can be easily found on Google or even here.

\$\endgroup\$
  • \$\begingroup\$ Couldn't find it when I googled. Though it was probably because of my horrible English. :P \$\endgroup\$ – BiiX Dec 27 '15 at 20:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.