x


Any way to use iPhone 4 gyro?

Is there any place I can find ideas on adding iPhone 4 gyro support to a Unity iPhone game right now?

more ▼

asked Jul 02 '10 at 02:41 AM

franktinsley gravatar image

franktinsley
73 6 7 12

(comments are locked)
10|3000 characters needed characters left

3 answers: sort voted first

http://www.prime31.com/unity/

nice guy made a plug in!

more ▼

answered Sep 02 '10 at 04:40 PM

teemujin gravatar image

teemujin
54 3 3 6

I know it's also possible to build a gyroscope engine for iPhone 3GS and iPad thanks to this guy: http://subvers.us/Subversus/Perspectiverse_Engine.html - but no real solution for us mortals from this, so far

Feb 19 '11 at 03:50 PM Cawas
(comments are locked)
10|3000 characters needed characters left

If you have Unity iPhone Advanced I'm sure you could write a native plugin that you could use to query what the gyro is spitting out. You would either have a native function you query on the game side for values, or you could use UnitySendMessage to send values to the game. The former is probably more performant, though.

It's not that simple, and the current version of Unity iPhone has problems linking in debug mode.

more ▼

answered Jul 02 '10 at 02:45 PM

Tetrad gravatar image

Tetrad
7.2k 27 37 89

(comments are locked)
10|3000 characters needed characters left

No. Unity Technologies will release a new version of Unity iPhone with support for iOS 4. Until that point, you can't use the new iOS 4 features in Unity as far as I know.

more ▼

answered Jul 02 '10 at 03:10 AM

qJake gravatar image

qJake
11.6k 43 78 161

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x27
x23

asked: Jul 02 '10 at 02:41 AM

Seen: 4897 times

Last Updated: Jul 02 '10 at 02:41 AM