Hello,
I started using Box2D just recently. I want to use dynamic objects in my simulation that are automatically created from arbitrary drawn outlines. They could have many corners and could also be concave.
What I tried so far is to use a b2LoopShape or b2EdgeShape for the object. However this only seems to work for static objects. When I set the object to dynamic, I get a segmentation fault at the moment the object collides with something else. Am I doing something wrong in my code, or can these two shapes generally not be used for dynamic objects?
Ciao, Erik.
I started using Box2D just recently. I want to use dynamic objects in my simulation that are automatically created from arbitrary drawn outlines. They could have many corners and could also be concave.
What I tried so far is to use a b2LoopShape or b2EdgeShape for the object. However this only seems to work for static objects. When I set the object to dynamic, I get a segmentation fault at the moment the object collides with something else. Am I doing something wrong in my code, or can these two shapes generally not be used for dynamic objects?
Ciao, Erik.