n5ro / aframe-physics-system

Physics system for A-Frame VR, built on CANNON.js.
https://n5ro.github.io/aframe-physics-system/
MIT License
505 stars 136 forks source link

[Question] How do I allow colliders to "rest" ontop of against oneanother? #185

Open ELI7VH opened 3 years ago

ELI7VH commented 3 years ago

trying to make a little demo here, and I will eventually be placing things in a kind of shelf, or on desktops.

I was wondering what configuration would allow objects to just simply "lay" ontop of or against one another.

right now I get kind of a weird jiggling, until all the pieces are laying flat against the static floor.

example: https://elijahlucian.ca/vr/

code: https://gitlab.com/elijahlucian/elijahlucian.ca/-/blob/master/vr