Hi, I’ve been playing with the various polyhedra that are out there and they are amazing. The MeshCollider works out of the box with all predefined shapes.
One of the shapes that was missing for me was a variant of the pentagonal dipyramid, so I took a stab at implementing that myself with custom vertex info.
It looks as what I want, but the MeshCollider behaves very odd on the shape, so I feel like I’m missing something.
This is my playground example: Babylon.js Playground
The d12 and d20 work as expected, but the d10 bounces in a very strange fashion. Also when I give no angular velocity it just stays on its point instead of rolling over.