Closed Luis-Enrique93 closed 1 year ago
just this line of code will break the website
const shape = new RAPIER.Cylinder(0.1, 0.1)
i've tried many ways to import like
import { Cylinder, Rotation, Vector } from '@dimforge/rapier3d'
or
import * as RAPIER from '@dimforge/rapier3d'
or different webpack configurations, but the error it's always the same
nevermind i fixed some classes can be imported, but others must necessarily be accessed from the instance. i can live with that.
just this line of code will break the website
i've tried many ways to import like
or
or different webpack configurations, but the error it's always the same