摘要
介绍使用Box2D物理引擎在Flash环境中模拟刚体的运动和碰撞。着重讨论了物理世界的设计、刚体属性的赋予并在Flash中举例实现。
This paper introduces how to use Box2D physics engine to simulate moving and collision of rigid bodies in Flash. The paper discusses the design method of physical world and setting values of rigid bodies, and examples are realized in flash.
出处
《电脑编程技巧与维护》
2011年第24期125-126,共2页
Computer Programming Skills & Maintenance