@gg-web-engine/ammo
v0.0.82
Published
Ammo.js (Bullet) 3D physics adapter for gg-web-engine: rigid bodies, triggers, character controller and raycast vehicles
Maintainers
Readme
Ammo.js integration for gg-web-engine, providing 3D physics simulation
Note:
This module uses self-built ammo.js, because requires additional functionality. Do not install another copy of ammo.js, if you need direct access, import it straight from this module:
import { Ammo } from "@gg-web-engine/ammo";Installation:
- make sure @gg-web-engine/core installed
npm install --save @gg-web-engine/ammo
The bundled ammo.js glue references Node's fs, only on its Node.js code path. This package's own
browser field maps it away, which webpack, esbuild (Angular) and Vite honor, so an app needs no
bundler configuration for it.
