Hi all!
First: Thanks for this library. It's really simple easy to use (despite few strange things).
The problem is simple (I think) but I don't know the solution. I want to create a shape, which is a mix of two shapes: a circle and a box. I want to do something like w bumper:
The upper thing is a part of a circle. Itcan be connected to the box at different parts of the circle, so the chord length isn't constant.
How is it possible to create such a shape in Box2D?
Thanks for any help 🙂
First: Thanks for this library. It's really simple easy to use (despite few strange things).
The problem is simple (I think) but I don't know the solution. I want to create a shape, which is a mix of two shapes: a circle and a box. I want to do something like w bumper:
Code:
____
/ \
/ \
| |
|__________|
/ \
/ \
| |
|__________|
The upper thing is a part of a circle. Itcan be connected to the box at different parts of the circle, so the chord length isn't constant.
How is it possible to create such a shape in Box2D?
Thanks for any help 🙂