Created
December 10, 2013 16:36
-
-
Save Tak/7893630 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In Box2D kinematic bodies only collide with other kinematic bodies therefore the second static body doesn't create a contact. | |
When you change the first body to be dynamic (un-check the IsKinematic property) then it's a dynamic body. Dynamic bodies do collide with static bodies. | |
Kinematic can collide with Kinematic | |
Dynamic can collide with Static & Dynamic | |
Static can collide with Dynamic | |
Box2D imposes this and not Unity. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment