Processing <-> Unity3D communication
in
Integration and Hardware
•
2 years ago
Hi,
I'm building a project that receives live data from an Arduino, processes, analyzes and visualizes it in Processing. After all the post-processing of the signal, triggers are added. When a trigger activates a signal should be sent from Processing to Unity3D.
My code works right up to the part where I have to send out a signal/message to Unity3D. Unity3D is expecting input from Processing to add interactivity to the Unity project I'm building.
My question is:
How do I send out signals from Processing to Unity? Would oscP5 work? (it looks like support for osc in c# (Unity scripts can be c#) is very limited though ...)
I have not done this before and after quite some googling I still can't see one DECENT solution, they all look slightly dodgy to me.
Cheers!
S.
I'm building a project that receives live data from an Arduino, processes, analyzes and visualizes it in Processing. After all the post-processing of the signal, triggers are added. When a trigger activates a signal should be sent from Processing to Unity3D.
My code works right up to the part where I have to send out a signal/message to Unity3D. Unity3D is expecting input from Processing to add interactivity to the Unity project I'm building.
My question is:
How do I send out signals from Processing to Unity? Would oscP5 work? (it looks like support for osc in c# (Unity scripts can be c#) is very limited though ...)
I have not done this before and after quite some googling I still can't see one DECENT solution, they all look slightly dodgy to me.
Cheers!
S.
1