Hi
I wanted to know if it is possible to display colliders of Entities with a pure ECS way.
I found this post, but this isn’t fitting to my app, as it’s using Hybrid method :
Thank you
Hi
I wanted to know if it is possible to display colliders of Entities with a pure ECS way.
I found this post, but this isn’t fitting to my app, as it’s using Hybrid method :
Thank you
I think you can
Thanks for the hint
This is kind of working if you are adding the following to the PhysicsDebugDisplayData
World.EntityManager.SetComponentData(entity,new PhysicsDebugDisplayData {
DrawBroadphase = 0,
DrawColliders = 0,
DrawColliderAabbs = 0,
DrawColliderEdges = 1
});
I’m saying kind of working, because when you are trying to display 2 colliders, nothing is display, but when you are trying for one it’s working perfectly fine. Any idea why ?