Create an Arduino and Unity3D interactive experience with no latency !
Don’t worry about Latency anymore, wrmhl is here
If you have ever wanted to transmit data from Arduino to Unity3D the main issue is INSANE LATENCY. We didn’t find any free, optimized, and customizable solutions to tackle this problem. So I built wrmhl. You can now connect any Arduino interface to Unity3D.
Add a Serial print to send data from your interface to Unity3D (see Examples)
Import wrmhl to Unity, and voilà!
You can use the default protocol, or implement your own without having to deal with thread just by changing wrmhl/Assets/WRMHL/Scripts/Thread/wrmhlThread_Lines.cs.
How to Install
# Clone this repository $ git clone https://github.com/relativty/wrmhl
Uploading to Arduino
Upload to the Arduino the following program:
On Unity3D !
Import the Package !
Assets, Import Package and Custom Package.. and you're good to GO !
Change the .NET 2.0 Subset to .NET 2.0
In order to do that : Go to Edit ➭ Then Project Settings ➭ Player, and under Other Settings find an option that reads Api Compatibility Level and change it from ".NET 2.0 Subset" to ".NET 2.0".
Run it !
Don't forget to leave some feedback, contributions and suggestions are always welcome !