I want to send commands to Unreal engine from another application running on same PC. This communication will be two way: the actor location and orientation info is sent to the application and the application sends back the movement commands for actor. For various reasons, the application must run as in its own process.
What is the best way to do this? I’m thinking using TCP sockets and I looked at FTcpListener class and some sketchy example that doesn’t work. My other thought is to use Asio library. Ideally, I would like bit higher level interface then raw sockets and simple library. Is there any example to do this?
My other question is what is the good design pattern for Unreal? Is there anyway to define new input type so that I can accept player input from sockets?