InfiniteLee/three-to-ammo

edges of two meshes won't line up flush

Opened this issue · 0 comments

First off, thanks for this repo as it's extremely helpful!

I'm currently building a skateboard simulation with three.js and Ammo. The issue i'm encountering is with edges not lining up flush (so when the skateboard rolls over them it gets caught).

If I use two box colliders that are the same size and have the same y position then they are flush. The problem arises whenever I use the hull method (even with those same two boxes).

I would use the box method but the two connecting pieces are a box and a ramp, so I have to use the hull method on the ramp.

Any ideas on how I could make these edges flush? Much appreciated it would be.