Andengine如何设置圆形墙?

时间:2014-03-19 04:39:18

标签: andengine

我的物理世界需要一个圆形边界。怎么设置?原始对象不包括'circle'。所以不能直接指定墙绑定。请指导。

1 个答案:

答案 0 :(得分:1)

据我所知,没有直接的支持。但是你可以围绕圆周重复划线以产生圆形碰撞墙。

您可以使用以下链接生成可用于绘制线条的点。 Formula to find points on the circumference of a circle, given the center of the circle and the radius

相关问题