I wish to make a lever and rotate the lever using accelerometer. I have this problem trying to place the ball on top of the lever and slide the ball along the lever according to the rotation. Would anyone drop me some hints or refer me to sample codes?
A:
You could have a look at Chipmunk which handles a lot of physics modelling.
Claus Broch
2010-08-20 09:12:38