I have a robot that I would like to drive around, sending data over the network as it does so reporting position, compass direction, etc. I would like that data to be read by a UNITY application which will then read that data and model a 3D display of that robot as it drives around. Does anyone know how to do this or at least where to begin? Should I use a library like Beamserver, custom C# socket scripts if that's possible, or does UNITY have this functionality already built in?
you can use sockets and httprequests, both work. You can use Beamserver or build your own with C++Builder(acessing through a DLL on Unity Pro) or Visual Studio, you can get examples on http://msdn.microsoft.com/en-us/library/cc296248(VS.95).aspx
http://www.codeproject.com/kb/IP/socketsByBobJanova.aspx
I understand its been along time since the post, but could you share if you were able to get the unity to read data from outside. I am making real time applications, where external devices will store data in the databse…my unity will contimously check for database changes…and will create/generate actions based on the value in the database field…
could you help me in this…
Hi, Even I am interested to learn how to read data from external application at real time to feed the same to aircraft at real time and fly.
Please guide.