How can this library be used with MeteorJS?

Following the “Getting started guide”, I did not get far; added the module through npm, then went in the code and

import { Engine } from "@babylonjs/core/Engines/engine";

Not sure where to go from there.

Edit: After further investigation, the npm module does not offer a transpiled release.

Hello and welcome!

The @babylonjs modules are es6 files that need to be transpiled by babel for instance if you plan to use

We also offer transpiled version here babylonjs - npm

Ah! Good, will try that tonight. Thanks!

It works, thanks!

1 Like