CrabScout. The best software around.
Search

Three Mesh BVH

Use a spatial index to query shapes in a Three.js scene.

gkjohnson · 3D and games

GitHub projectOpen source Open on GitHub

How to try it

In a Node.js project, install [email protected]. Build a sample box mesh and cast a ray from an outside point.

What we tested

0.9.18. Build a sample box mesh and cast a ray from an outside point. Computed the expected hit four units from the start of the synthetic ray.

Reviews

Rate this repo

More to explore

  • glMatrixTransform vectors and matrices for graphics, motion and geometry.GitHub projectOpen source
  • Matter.jsSimulate two-dimensional objects, gravity and collisions in JavaScript.GitHub projectOpen source
  • Planck.jsBuild two-dimensional physics simulations with bodies and contacts.GitHub projectOpen source

Share

What the labels mean

Save to your library