feat(physics-rapier2d): 添加跨平台WASM加载器

This commit is contained in:
yhh
2025-12-03 16:18:48 +08:00
parent b3f7676452
commit e2cca5e490
12 changed files with 650 additions and 31 deletions

View File

@@ -5,7 +5,7 @@
* 封装 Rapier2D 物理世界,提供确定性物理模拟
*/
import type RAPIER from '@dimforge/rapier2d-compat';
import type RAPIER from '@esengine/rapier2d';
import type {
Physics2DConfig,
Vector2,