Running UE on Windows with PhysX on Linux

I’d like to run UE and PhysX on Linux to do rigid body simulation, but apparently UE doesn’t run on Linux. Is there any means to network the two together, having PhysX on a Linux box with a socket connection to UE on Windows?

You can certainly run UE on Linux. Your scenario is probably best approached by having a dedicated Linux server doing the simulation and Windows client showing it. You can of course go lower level but I don’t think you need to.

Do you mean I could have an instance of UE and PhysX running on a Linux server, with a network connection to a UE client on Windows? If that isn’t right, please give me some idea how the architecture you have in mind would look. Are you recommending UE3 or UE4? Also, I didn’t see Linux as a platform included in the downloads section …? Thanks for your patience :slight_smile:

I recommend UE4 over UE3 for many reasons, official Linux support being one of them :slight_smile:

You can build a Linux server for your UE4 game and connect UE4 game client to it - that was the architecture I kept in mind. You don’t have to write a custom network code for that scenario, it should work out of the box (although you may want to tweak what you are replicating to client if you want to make sure it is as lightweight as possible, perhaps at the expense of local simulation’s accuracy).

As for building the dedicated server, you will need to set up our cross-toolchain and then package server configuration from UFE or the editor. Here’s the documentation how to do this: A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums

Thanks for the help!

No problem :slight_smile: