Hi @Vision Pro Engineer, thank you for your response.
I followed the link you provided, and it worked! Thank you very much.
ModelSortGroup is the solution.
I won't be using ManipulationComponent because I need visionOS 2.0, but it's a very interesting component.
That said, I encountered a problem with ModelSortGroup in my actual application, not the demo one (where my image comes from).
I couldn't find any explanation, but using generateCollisionShapes(recursive: false) didn't work, whereas my spheres (which are real entities loaded from files) worked when I manually created the collision shape. I tried displaying the collision shapes using visionOS debugging, and both methods seemed to produce exactly the same collision shape, position, etc.
Is there a logical explanation?
Thanks for your help, it really solved my issue.