Name Last Update
..
README.md Loading commit data...
chipmunk.gif Loading commit data...
dependencies.cmake Loading commit data...
dletter.blend Loading commit data...
letter-a.h Loading commit data...
letter-d.h Loading commit data...
letter-i.h Loading commit data...
letter-l.h Loading commit data...
physics-demo-controller.cpp Loading commit data...
split-letter-d.h Loading commit data...

README.md

Chipmunk Physics Example

This is an example showing how to use Chipmunk2D physics library to create and control physics objects in DALi. It creates a set of balls which act under gravity, and the letters of the DALi logo that are each "suspended" from a fixed pivot. Every 7 seconds, a random number of the balls are given a high impulse to bring the whole demo back to life.

"wasd" keys move the last touched actor up/down/left/right. "qe" keys rotate the last touched actor in Z axis "p" key resets the position/forces on the last touched actor to the origin Space key toggles the integration state. "m" key toggles the debug state