Trying to figure out a way to handle collisions between objects in my three.js project. Considering using cannon.js for its support of necessary primitives, but don't always need all the physics overhead, just collision detection in many cases. Don't want to reinvent the wheel with my own collision detection engine.
Is there a simple method to use cannon.js or another javascript physics library for object/object and object/terrain collision testing? Looking for information like penetration depth and collision normals if possible.
Considering physijs for tighter integration with my three.js code, but demos suggest potential performance issues. Any recommendations?
Thanks!