物理引擎主要包含游戏世界中的物体之间、物体和场景之间发生碰撞后的力学模拟,以及发生碰撞后的物体骨骼运动的力学模拟(比较著名的物理引擎有havok公司的game dynamics sdk,还有open source 的ODE—Open Dynamics Engine)。其他还有physX, OPAL等。效率来说Havok是软件模拟最快的。而PhysX提供的接口是非常好和简单易学的。
physX
physX SDK是可以免费使用的,只要注册就可以下载。网址,
http://www.ageia.com/
Developers can now download v2.6 of the AGEIA PhysX SDK which adds significant functionality and performance improvements to previous versions, including fluid and cloth hardware support advancements.
This SDK is available for all users who register at
devsupport.ageia.com
OED
ODE is an open source, high performance library for simulating rigid body dynamics. It is fully featured, stable, mature and platform independent with an easy to use C/C++ API. It has advanced joint types and integrated collision detection with friction. ODE is useful for simulating vehicles, objects in virtual reality environments and virtual creatures. It is currently used in many computer games, 3D authoring tools and simulation tools.