|
I am making a school project, where I controll an sphere with devices accelerometer. Now everithing goes well, till I add rigidbody to the sphere. Sphere dose move according to the information from accelerometer for few moments, but then it starts to get stuck. Like it would get stuck in the ground(cube in my case). I am using this code for accelerometer: How can I get this to work. Or is there a different way to apply movement to the object with information from accelerometer and have gravity. I am developing with JavaScript for Android 2.2
(comments are locked)
|
