swift502 / Sketchbook

3D playground built on three.js and cannon.js.
https://jblaha.art/sketchbook/latest
MIT License
1.47k stars 389 forks source link

Doubts about collision detection #48

Open Steve245270533 opened 1 year ago

Steve245270533 commented 1 year ago

I want to ask how to ensure that the capsule body will not rebound after hitting the wall? and if I set the capsule body to move too fast, it will also pass through the wall. I'm not sure where your source code solves this problem. collision