This repository was archived by the owner on Feb 10, 2023. It is now read-only.

Description
Physics bodies can be created against instance meshes. The index can be passed to the body function
sphereProps = this.physicBody.useParticle((index: number) => ({
Internally, this creates a virtual UUID that's passed to cannon.
However, constraints are missing a way to refer to instance bodies using the virtual UUID. Currently, only non instance bodies are supported.
My guess is a check if objects are InstanceMesh would need to be added here to lookup the internal UUID.
Am I on the right track?