Tokamak (software)

From Wikipedia, the free encyclopedia
Tokamak Game Physics SDK
Original author(s)David Lam
Developer(s)Tokamak Physics
Stable release
1.0.5a / April 14, 2008;
14 years ago
Written inC++
LicenseBSD License or Zlib License
WebsiteTokamak site

The Tokamak Game Physics SDK is an open-source physics engine.

At its beginnings, Tokamak was free for non commercial uses only. Since May 2007, it has become open sourced under a BSD License. Now it can be used under BSD or Zlib license, in order to make the source code exchange with other physics engine possible.


Tokamak features a unique iterative method for solving constraints. This is claimed to allow developers to make trade-offs between accuracy and speed and provides more predictable processor and memory usage. Tokamak's constraint solver does not involve solving large matrices, thereby avoiding memory bandwidth limitations on some game consoles.

The SDK supports a variety of joint types and joint limits and a realistic friction model. Tokamak is optimized for stacking large numbers of objects - a frequently requested feature by game developers. Tokamak provides collision detection for primitives (box, sphere, capsule), combinations of primitives, and arbitrary static triangle meshes. Lightweight 'rigid particles' provide particle effects in games at minimal cost.

Tokamak also supports "Breakage Constructing models" which will break when a collision occurs. Fragments of the original model will automatically be spawned by Tokamak's built-in breakage functionality.

See also[edit]

External links[edit]