xzessmedia
Member
|
gyrosensor
can anybody tell me if gyrosensor is supported and how to read its values?
Royality Free Game Ressources
www.xzessmedia.de
|
|
03-22-2013 12:52 AM |
|
Ozmodian
Member
|
RE: gyrosensor
Hi Xzessmedia,
Yes the gyro is fully supported (for android i know for sure, not 100% sure on apple but i think it is). There is a basic tutorial that renders just a ball that you can move with the gyro. I don't have the name in front of me but it is there. If you still cant find it, i will give you the exact name when i get home.
**********
In case you didn't find it, it is in the 1.0 Android version. The following function return a vector for the movement.
Accelerometer()
Gyroscope ()
(This post was last modified: 03-22-2013 07:52 AM by Ozmodian.)
|
|
03-22-2013 02:35 AM |
|
xzessmedia
Member
|
RE: gyrosensor
thank you very much!
Royality Free Game Ressources
www.xzessmedia.de
|
|
03-22-2013 02:22 PM |
|
Ozmodian
Member
|
RE: gyrosensor
Hi xzessmedia,
Your going to laugh at yourself i am afraid....
in your init function, you are missing:
Code:
ax = &Hauptfenster.getText("ax");
ay = &Hauptfenster.getText("ay");
az = &Hauptfenster.getText("az");
That's it. Enjoy
|
|
03-23-2013 03:39 AM |
|