Twig Physics Library for DarkPlaces

QuakeC physics-library for use in DarkPlaces powered mods and games. Currently capable of creating simple rigid objects, such as crates, barrels, hanging/dangling objects.

Imagine a stick. Toss the stick, and it’ll bounce around happily until laying down flat to the ground. Now imagine three sticks, stuck together forming a triangle. This acts very much the same way, but resembles something with more of a shape than a line. Imagine sticking together enough sticks that they form a cube, with a stick between each and every corner of the cube, making it feel really sturdy, so it won’t bend under its own weight if dropped to the ground. This obviously makes quite many sticks. Each and every side of a cube uses 4 sticks to get the square shape of the edges, and 2 sticks for a cross in the middle for extra stability. The connecting edges between sides can obviously share sticks. On top of this, there are 4 sticks in the middle of the cube, connecting the corners together. This makes 28 sticks for a cube. All this is required to make the cube feel rigid. This is the basic idea of a stick-physics-engine.

Download: [Download not found]