开发者

Box2D - How to make a hollow circle

I would like to know how to make a hollow circle, with boxes and distance joint, something like this:

Box2D - How to make a hollow circle

(so开发者_如何学运维urce: subirimagenes.com)

I've tried it but I cant get a perfect circle, any idea? thanks


Here is one route. Draw a regular n-gon. Below, the blue is a regular 16-gon. Then translate each edge outward radially, and connect each translated (red) edge to its original (blue):


Box2D - How to make a hollow circle


0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜