Box2D Forum Archive
Search Settings
Home › Box2D › Games and Applications

How do you create custom shapes

Games and Applications
H havok
Sep 16, 2010 16:03
How can you create a custom polygon shape (i.e. not a rect or circle) to apply to the fixture?

I'm new to box2d, but 2.0 seemed to make more sense in this regard, since you could set the number and placement of vertices. Can you still do that in 2.1?
I irresistible force
Sep 18, 2010 05:46
Yep. Check the Polygon Shapes section in the manual.

Original thread: https://box2d.org/forum/viewtopic.php?t=5596

This is an unofficial, read-only archive preserved for the community. Original site: https://box2d.org

Want your posts removed? See removal requests or email [email protected]. · Preserved with Forum Ark · Privacy · About