Assume I have a plane on top of which 2 boxGeometries are present. All I want to do is make them rigid when collide with each other. but right now they’re just over lapping.
If you are using r3f, there is a very useful library called “cannon”.
Lib：use-cannon/packages/react-three-cannon at master · pmndrs/use-cannon · GitHub
Docs:use-cannon/README.md at b3dad4fe73617221f91a5e31be2ec06e5f98b62c · pmndrs/use-cannon · GitHub