I’ve been working on a small game for a little while now, but can’t seem to find a way to load Rapier.js without an error. Kinda specific but it has to be all in one singular file, and whenever i try to load rapier like this I get the error ‘rawintegrationparameters_new is undefined’.
"imports": { "three": "https://cdnjs.cloudflare.com/ajax/libs/three.js/0.172.0/three.module.js", "three/addons/": "https://cdn.jsdelivr.net/npm/three@0.172.0/examples/jsm/", "@dimforge/rapier3d-compat": "https://cdn.skypack.dev/@dimforge/rapier3d-compat" }
import * as THREE from 'three'; import { PointerLockControls } from 'three/addons/controls/PointerLockControls.js'; import { OrbitControls } from 'three/addons/controls/OrbitControls.js'; import { Sky } from 'three/addons/objects/Sky.js'; import Stats from 'three/addons/libs/stats.module.js' import RAPIER from '@dimforge/rapier3d-compat'; // Import Rapier