Skip to content

Instantly share code, notes, and snippets.

@AtkinsSJ
Created May 20, 2013 11:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AtkinsSJ/5611633 to your computer and use it in GitHub Desktop.
Save AtkinsSJ/5611633 to your computer and use it in GitHub Desktop.
Things that cause box2d to crash. Most of these are things you shouldn't do in your code anyway, but it'd be better if it gave an error rather than just crash with no explanation. >_<
  • Creating or destroying bodies and fixtures during a callback.
  • Casting a ray where the start and end points are the same position.
  • Creating a fixture with a PolygonShape set as a box with 0 width and height
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment