@gg-web-engine/ammo
v0.0.56
Published
An attempt to create open source game engine for browser
Downloads
225
Maintainers
Readme
Ammo.js integration for gg-web-engine, providing 3D phycics 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
- Add to your
tsconfig.json
in the recordcompilerOptions.paths
:
"mini-signals": ["./node_modules/mini-signals/index.js"]
- Add to your
package.json
:
"browser": {
"fs": false,
"os": false,
"path": false
}