2D Physics on Android Using Box2D
[size=medium]如何在 android 应用中使用 JBox2D。
JBox2D 使用 processing 做图形渲染,需要改成基于 android 进行渲染。教程并没有实现渲染部分,只是用 Log 打印 body 的位置信息来查看程序的运行情况。 [url=http://www.anddev.org/how-to_2d_physics_with_box2d-t5099.html]这里[/url]还有对该教程的讨论。
his post is a brief tutorial on getting started with 2D physics on Android.
2D physics can greatly enrich games by realistic behavior of objects such as polygons (boxes, rectangles, polys) and circles in a world setting. The engine calculates collisions, angles, forces and momentums based on user-defined settings such as gravity, density, friction, elasticity, etc.
more information:
[url]http://www.4feets.com/2009/03/2d-physics-on-android-using-box2d/[/url]
[url]http://box2d.org/manual.html#d0e118[/url][/size]