@gg-web-engine/ammo
TypeScript icon, indicating that this package has built-in type declarations

0.0.38 • Public • Published

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:

  1. make sure @gg-web-engine/core installed
  2. npm install --save @gg-web-engine/ammo
  3. Add to your tsconfig.json in the record compilerOptions.paths:
"mini-signals": ["./node_modules/mini-signals/index.js"]
  1. Add to your package.json:
"browser": {
    "fs": false,
    "os": false,
    "path": false
}

Package Sidebar

Install

npm i @gg-web-engine/ammo

Weekly Downloads

32

Version

0.0.38

License

Apache-2.0

Unpacked Size

5.21 MB

Total Files

34

Last publish

Collaborators

  • andygura