Hi people!
I would like to build my own controller, using buttons and arduino, to control the game. I have been doing some research on how to do it but they all seem to solve this by using C++ directly somewhere…
Is there any simple way, for non programmer mortal like me, to connect the arduino with UE4?
I read something about OSC and a library of it for the arduino, is that the correct path?
How would the Blueprint in UE4 read it? Like the input of a mouse/keyboard? Will the final packaged game be able to recognize the arduino in any port afterwards?
If someone could explain the whole process in simple language that would be awesome… im sure there is other people looking for info like this
Thanks a lot,
Seichi
PS: Im posting here the link of stuff i have found that may be of use to people (it might be of no use but since i dont really understand what im reading, concerning programming, i tend to save all the links) http://cnmat.berkeley.edu/oscuino
Short answer would be NO … the Arduino is a low-level board and requires you to have some programming knowledge … so I am sorry to say but you will not be able to come right without some programming knowledge.
I use Raspbery PIs and Arduinos at work for our betting displays … so I am familiar with them … even my 3D Printer is connected to an Arduino Mega … basically you will have to find someone who can do the heavy lifting for you and maybe help you develop your idea.
Hi qdelpeche,
Thanks for your quick answer. Do you mind telling me how much heavy lifting it is and when I ask people, what should I ask for? Im considering to ask other students but I cant really describe what it is needed from them
I actually think that if there’s an osc library for arudino then you’ll be ok. You need to make sure it’s connected to the same network as UE, make sure the osc plugin is installed, then send some test data on a loop from your arudino board. Osc is a great protocol for stuff like this.
The simplest way would actually be to go for something like Makey Makey which works on arduino but essentially allows you to make touch inputs that replicate keyboard input. Really depends on what kind of stuff you are trying to do. If you are wanting to do a joystick input or something then you will need some proper arduino scripting which you could then send across OSC to UE4
Hi everyone! @Dannington yes, i found a OSC library for the arduino and also a friend who knows about using it. Once he has set up everything up ill make the simple code for the buttons. @ZoltanJr Makey Makey looks great! but due to the price ill try the Arduino/OSC route first and in case of emergency just buy one.
No, you shouldn’t need OSC…the only thing I don’t have implemented right now though is having the Arduino port automatically detected. I can look into this though and add it in probably…