README.md 692 Bytes

Bullet physics example

This is an example showing how to use the Bullet physics library to create and control physics objects in DALi.

It creates a pyramid of bricks and a ball falling onto a large block.

The user can select and drag any of the actors with the mouse. The user can zoom in and out using the mouse wheel.

"wasd" keys move the last touched actor up/down/left/right. "qe" keys rotate the last touched actor in Z axis "zx" keys rotate the last touched actor in Y axis "cv" keys rotate the last touched actor in X axis "p" key resets the position/forces on the last touched actor to the origin

"m" key toggles the debug rendering Space key toggles the integration state.