iPhone tracking device in Unity Environment

Hey,

I was wondering if is it possible to use the iPhone accelerometer as a tracking device to control the FPS controller direction and movement.

My idea was to build something like a remote that would allow to control the FPS controller movement (forward, backward, left and right) and direction (given by the iPhone accelerometer when the user turns his body left or right). The head movement would be controlled by an HMD with another tracking device (simulating the mouse movement).

I don’t know if this is possible but I was hoping to get just a small brainstorming session in order to point me in the right direction.

Thanks

If I understand you correctly you mean the game is a standalone and the Iphone just sends its accelerometer data to your game. This is possible and you’d do it by establishing a Socket connection between iphone and the computer your game runs on. This can probably be done using Mono and should be very similar to what the unity remote tool does.