Realtime file reading while ingame
Hello, I am completely new to UE. I would love to use this engine for my project. I am developing my own positional tracking system for Oculus. Therefor there will be an outside application doing all calculations and determining cameras (head) position. I would love to ask how and if it is possible to make some tunnel to parse XYZ positions realtime (from my application) into the game while ingame (probably trough reading some text file)? Thank you!!
asked Jun 16 '15 at 03:56 PM in Using UE4
answered Jul 14 '15 at 09:32 PM
What you want to do is called IPC (https://en.wikipedia.org/wiki/Inter-process_communication). I'd suggest one of the following two solutions:
1) You can take a look at named pipes (basic OS functionality). They are usually implemented as file descriptors which allow writing to one side and reading from the other side. There should be a way to do this asynchronous easily.
2) Another possibility may be to create a socket and transfer the data using TCP/UDP on the loopback interface 127.0.0.1.
I'd probably prefer the second one.
answered Jul 14 '15 at 09:43 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here