ofxKinect point cloud + collision

To get specific, I am looking to draw two boxes, one on either hand using the point cloud drawn from ofxKinect. Then, I’d like to use those two boxes to collide with other 3d objects. ofxOpenNI hand tracking works nicely by plotting two spheres on either hand while running the example file, but that addon is giving me errors when using in a new project. Any suggestions would be greatly appreciated.

An easy way to do this without using OpenNI hand tracking is to set a far and near threshold where users could stand their hands and then using contourFinder you just get the blobs centroId and use it to create the boxes.

I used this approach in this projects :

For 3D collision you can use something like this.