How to Convert UE4 Scene to Babylon.js, Coordinate System from Z-up to Y-up

In Unreal Engine 4, I have a complex urban scene, and I can easily obtain a list of static meshes in the scene, with properties including (RelativeLocation, RelativeRotation, RelativeScale3D), etc.

I tried using this data directly in Babylon.js, but the resulting scene was completely messed up and terrible.

After researching, I learned that UE4 uses a left-handed coordinate system with Z-up, while Babylon.js uses a left-handed coordinate system with Y-up.

I’d like to ask the experts here: How can I convert UE’s coordinates to Babylon.js to perfectly replicate the UE scene?

Welcome aboard!

This is a perfect scenario to use AI. I tried ChatGPT 5.0 and Claude 4.1. ChatGPT was more precise so here is the link:

I believe this will involve more than just transforming the coordinates…

Thank you, I’ll give it a try. I’ve also attempted to use AI for coordinate system conversion, but there were some minor issues.

1 Like