- Home /
GPS and Rotation in computer from iphone?
Ok so i need help because i dont even have a clue on how to start this idea... Sooo i want to have an app on my iPhone that when i open it, and open the computer's app, the iPhone sends the computer information on the iPhones rotation and its location.. i wanna get this to work because i could use the phone like a special controller to control the character on the computer.. I have no clue on how to start this.
Answer by TheHoboCoder · Dec 15, 2013 at 03:28 PM
I probably would use network connection for this. So this is the raw pipeline: 1. Your computer is a server 2. Your mobile device connects to the server as client 3. Send GPS / Rotation / what ever data you want from client to server
These links should give you a good starting point: http://docs.unity3d.com/Documentation/Components/NetworkReferenceGuide.html http://docs.unity3d.com/Documentation/ScriptReference/Network.html
There is also easy to use tool / plugin for networking things: http://www.tasharen.com/?page_id=4518
Your answer
![](https://koobas.hobune.stream/wayback/20220613124210im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Flip over an object (smooth transition) 3 Answers
How can I set a limit to my object rotation???(Here's the code) 2 Answers
How can I rotate a player proportionally over a mesh? 1 Answer
Mecanim IK Foot Rotation 2 Answers
Simple Rotation 1 Answer