Adding dali letters to 2d phys demo
[platform/core/uifw/dali-demo.git] / examples / chipmunk-physics / README.md
1 # Chipmunk Physics Example
2
3 This is an example showing how to use Chipmunk2D physics library to create and control physics objects in DALi.
4 It creates a set of balls which act under gravity, and the letters of the DALi logo that are each "suspended" from 
5 a fixed pivot. Every 7 seconds, a random number of the balls are given a high impulse to bring the whole demo back
6 to life.
7
8 ![](./chipmunk.gif)
9
10 "wasd" keys move the last touched actor up/down/left/right.
11 "qe" keys rotate the last touched actor in Z axis
12 "p" key resets the position/forces on the last touched actor to the origin
13 Space key toggles the integration state.
14 "m" key toggles the debug state