Basic shapes collision as meshes instead?

So I had this idea today, what if instead of using

entity.addComponent('collision', {
type: 'capsule',
});

I’d use mesh asset, that is 1 of 1 to of playcanvas ‘capsule’, how would it act compared to playcanvas ‘capsule’, would it be any better in non-uniform scalings?

Hi @Newbie_Coder,

That will work only if you are using static rigid bodies, mesh to mesh collisions aren’t supported.

And still I think capsule colliders would be faster given internal optimizations Ammo makes, when compared to mesh/triangle colliders.