Hi everyone...
How can i use the accelerometer on a phone with a WCK component? I've made a ball that i want to move around the screen using a phones accelerometer.
EDIT: i've found out the accelerometer works when the WCK component is set to static (it's just a simple ball i'm using), but then collision detection dont work or anything else, because it needs to be set to dynamic but that then breaks the accelerometer movement... what can i do?
Or maybe i'm going about this the wrong way and somehow need to change the world gravity using the accelerometer?
How can i use the accelerometer on a phone with a WCK component? I've made a ball that i want to move around the screen using a phones accelerometer.
EDIT: i've found out the accelerometer works when the WCK component is set to static (it's just a simple ball i'm using), but then collision detection dont work or anything else, because it needs to be set to dynamic but that then breaks the accelerometer movement... what can i do?
Or maybe i'm going about this the wrong way and somehow need to change the world gravity using the accelerometer?