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.

Newcomers AppGameKit Corner / Controling agk camera by rotating and tilting the smartphone/tablet?

Author
Message
hoyoyo80
8
Years of Service
User Offline
Joined: 11th May 2016
Location:
Posted: 3rd Jan 2017 07:42
Hi all,

Im just wondering(not doing any project) whether we can control agk camera(in 3d games) simply by tilting and rotation our smartphone or tablet? Any list of command that i can look into?

Thanks
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 3rd Jan 2017 08:53
Yes it is possible.

Sensor commands return values (GetRawRotationVector*)
Camera angles are controlled by setting values (RotateCameraGlobal*)
You simply have to translate the input to the output.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt
hoyoyo80
8
Years of Service
User Offline
Joined: 11th May 2016
Location:
Posted: 3rd Jan 2017 11:54
Thats a quick reply...Thanks BatVink

Login to post a reply

Server time is: 2024-11-21 21:30:16
Your offset time is: 2024-11-21 21:30:16