UNPKG

three-to-ammo

Version:

Convert THREE.Mesh to Ammo.btCollisionShape

5 lines (3 loc) 344 B
# three-to-ammo Converts `THREE.Mesh` to `Ammo.btCollisionShape` for use with [Ammo.js](https://github.com/kripken/ammo.js/), [aframe-physics-system](https://github.com/donmccurdy/aframe-physics-system), and [three-ammo](https://github.com/InfiniteLee/three-ammo). Inspired by: [three-to-cannon](https://github.com/donmccurdy/three-to-cannon)