Hi Folks,
I’m parenting multiple entities with physics in ECS and combining (using the compound collider) their colliders so that they form a single shape.
I’m getting a bizarre behaviour so I went and turned on the different visualisations available in the PhysicsDebugDisplayData entity but the “Draw Colliders” shapes don’t align to the actual entities nor the “Draw Colliders Edges”, should the collider shapes match the collider edges? The rendered object and the collider edges are all OK and what I would expect but the collider shape (pink) is just wrong, the rotation of the colliders seems correct but their position seems to be inconsistently offset.
The parent entity has a uniform scale and all child entitites have a scale of 1.
I’m suspicious that this is not just a visualisation error but that internally there is something wrong with the colliders that is causing my final combined entity to go crazy.
This is what it looks like, the red shapes (Colliders) is what I would expect to line up to the green wireframes (Collider edges):
.I’ve updated to the latest Entities and Physics 1.3.8 packages and this still happens.
Has anyone seen this before?