HI
Im trying to build a game where I can direct a ball with the motion of my hand.
The hand motion is captured by the kinect (depth image and code from an example which looks at current and previous hand positions). When the hand comes close to a ball, the ball moves in the direction of the hand motion.
As of now, the ball does move according to the hand motion, but only in one direction (towards left) instead moving in both directions.
Any help for this would be great. Thank you!
The code is:
mport SimpleOpenNI.*;