The Hand Example

handphysics loads a scene from a configuration file and allows the user to interact with the scene using the osgbInteraction::HandNode.

You can use the HandNode with keyboard controls or with a P5 data glove. To use the P5 data glove, you must example P5 usage in osgBullet's CMake system, then rebuild osgBullet with P5 support.

For keyboard controls, see osgbInteraction::VirtualHandTestEventHandler.

An example configuration file, concave.txt, is in the data directory. Run the example like this:

> handphysics concave.txt