Collision shapes for primitive shapes don't account for scale

Hello,

I'm scaling a primitive cube to create a collision in RealityKit on iOS via Reality Composer Pro. However, when I export it as a usdz and then call generateCollisionShapes(recursive: true) it is ignoring the scaling I have set for the object.

It appears like it ignores the non-uniform scaling I'm using and just creates a big cube collision in a scaled up version proportionally. I have tried to use bounding boxes, etc, to create my own collision ShapeResource but it consistently has this problem.

If I take Reality Composer Pro out of the equation, it still has the same issue when adding a collision to a primitive cube.

Is this a bug in RealityKit collision scaling?

Collision shapes for primitive shapes don't account for scale
 
 
Q