Problem importing colliders from Blender

I’m importing a model from Blender that includes multiple meshes used as colliders. I want to create a compound collider by assigning a PhysicsImpostor to each collider mesh.

This works perfectly if I don’t change the root node’s position before creating the impostors.

The problem is: if I set a non-zero initial position on the root node before creating the impostors, the impostors end up in the wrong position or orientation. Even without moving the root after creation, the colliders are misaligned or upside down.

I’ve already applied all transforms in Blender and parented everything correctly. I am not sure how to fix it in Babylon.js.

Has anyone encountered this issue or has a reliable workflow for importing multiple colliders from Blender?

https://playground.babylonjs.com/#YZSQ1F

1 Like

Physics V1 is being slowly deprecated. Is there something preventing you to switch to physics V2 ?

Hello Cedric, thank you for the response.

You are right. I already migrated to V2 yesterday and that automatically solved the issue I mentioned in this thread. V2 is indeed much simpler to use.

2 Likes