Hi,
I'm creating bodies and their fixtures dynamically. Though they can be pretty small sometimes, and then I get some problems.
When there is something wrong with the fixture (too small, concave, ...) Box2D gives an assert. Is it possible to check if creating a fixture was successful at runtime to act on it when it isn't ?
Edit: I just found, is it possible that it throws instead of asserts ? Or am I wrong with this ?
Thanks !
-The Oddler
I'm creating bodies and their fixtures dynamically. Though they can be pretty small sometimes, and then I get some problems.
When there is something wrong with the fixture (too small, concave, ...) Box2D gives an assert. Is it possible to check if creating a fixture was successful at runtime to act on it when it isn't ?
Edit: I just found, is it possible that it throws instead of asserts ? Or am I wrong with this ?
Thanks !
-The Oddler