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 / Will GetRawOrientationX/Y/Z() be working anytime soon?

Author
Message
easter bunny
11
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 26th Nov 2013 02:50
It's right there in the title

The docs for it say:

If an orientation sensor exists, get the X/Y/Z axis of the current device's orientation in real world space. This command is not yet functional.

Naphier
13
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: St Petersburg, Florida
Posted: 26th Nov 2013 05:04
Have you tried it out? I'm pretty sure Dan Foreman was using this in one of his tutorials a while ago.
The online help does not have the "This command is not yet functional" so I'm assuming just the offline help is out of sync. I stopped using it because it was never being updated. Just set up a script in AutoHotKey to do a google search on the command i currently have highlighted in the editor.

easter bunny
11
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 26th Nov 2013 06:09
They both return 0 on my phone, but then again, so does GetOrientationSensorExists(). I assumed that's because it's not working, although my phone probably doesn't have an Orientation Sensor anyway. (It's just a cheap Huawei, I should probably look into upgrading )

Tone Dialer
Valued Member
18
Years of Service
User Offline
Joined: 17th Oct 2005
Location: England, well a town in it !
Posted: 26th Nov 2013 08:15 Edited at: 26th Nov 2013 08:27
@easter bunny

These might be one some the commands originally written for the Ultrabook Contest a while back...
The commands work OK on my Windows 8 Ultrabook, but not on a Samsung Galaxy S (could someone else try on a later model please).

I am using AppGameKit Ver 108.19

When Paul reads this he might be able to let us know if these commands will be fully implemented in V2.

Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 26th Nov 2013 08:32
i believe its similar GetDirection...() & GetRawAccel...()

AGK 108 B19 : Windows 8.1 Pro 64 Bit : AMD Radeon HD 6670

Login to post a reply

Server time is: 2024-05-20 10:41:04
Your offset time is: 2024-05-20 10:41:04