I make some mesh in Blender. Turned on Rigidbody modifier and set “box” as a shape of collisions for that mesh objects. My mesh is not box-shaped but it’s just for a test.
Then I exported it as glb and loaded in BJS. Tested to check its collisions with moveWithCollisions().
To my surprise my box-shaped collider from Blender was ignored. Instead of it I see that now it’s like mesh collision shape or “convex hull”. Looks like BJS creates collisions when it loads the mesh?
AFAIK colliders are not exported as part of a glb export. To be more specific - the meshes might be exported but we don’t set them to be collision-enabled per default. However, @bghgary knows that better and will be able to answer this specific question better than me.
@Dok11 's solution is very straightforward and would be my solution as well.