Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Accelerometer and Physics

Author
Message
Jna99
18
Years of Service
User Offline
Joined: 3rd Nov 2005
Location: Portugal
Posted: 23rd Sep 2011 00:36 Edited at: 23rd Sep 2011 00:57
Hi all,

I'm trying to use the accelerometer commands together with physics but I can't seam to achieve it. The idea is to control the ball using the accelerometer and the ball should pick speed if the iphone in a steep angle. Can any one please help me?

p.s the images used in the code bellow come from the AppGameKit data folder



Jna99
18
Years of Service
User Offline
Joined: 3rd Nov 2005
Location: Portugal
Posted: 23rd Sep 2011 01:27 Edited at: 23rd Sep 2011 01:28
Hi,

I've achived the efect but the ball always spins

here's the code



Login to post a reply

Server time is: 2024-03-29 10:11:41
Your offset time is: 2024-03-29 10:11:41