three-to-ammo icon indicating copy to clipboard operation
three-to-ammo copied to clipboard

edges of two meshes won't line up flush

Open hayden2114 opened this issue 4 years ago • 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.

hayden2114 avatar Jun 09 '20 15:06 hayden2114