@lagless/create 0.0.59 → 0.0.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
<% } else if (simulationType === 'physics3d') { -%>
|
|
27
27
|
"@lagless/physics3d": "^<%= laglessVersion %>",
|
|
28
28
|
"@lagless/physics-shared": "^<%= laglessVersion %>",
|
|
29
|
-
"@
|
|
29
|
+
"@lagless/rapier3d-deterministic-compat": "^0.19.4",
|
|
30
30
|
<% } -%>
|
|
31
31
|
"@abraham/reflection": "^0.12.0",
|
|
32
32
|
"pixi.js": "^8.12.0",
|
|
@@ -88,7 +88,7 @@ export const RunnerProvider: FC<RunnerProviderProps> = ({ children }) => {
|
|
|
88
88
|
<% } else if (simulationType === 'physics3d') { -%>
|
|
89
89
|
// Load Rapier 3D WASM
|
|
90
90
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
91
|
-
const RAPIER = (await import('@
|
|
91
|
+
const RAPIER = (await import('@lagless/rapier3d-deterministic-compat')).default as any;
|
|
92
92
|
await RAPIER.init();
|
|
93
93
|
const rapier = RAPIER as unknown as RapierModule3d;
|
|
94
94
|
if (disposed) { inputProvider.dispose(); return; }
|