Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

fix(ci): the API snapshots carry PhysX and the JS engine; Linux fetches no Windows V8

yhhc99e953b757c
diff --git a/build-tools/tasks/nativeDeps.js b/build-tools/tasks/nativeDeps.js
index 20ba2976a..fa90579c3 100644
--- a/build-tools/tasks/nativeDeps.js
+++ b/build-tools/tasks/nativeDeps.js
@@ -102,9 +102,13 @@ export async function fetchNativeDeps(options = {}) {
const sdl = await fetchAt(path.join(deps, 'sdl'), pins.sdl.repo, pins.sdl.commit, 'SDL3');
// Prebuilt archives rather than checkouts: V8 builds only with Chromium's own
- // toolchain. Both are fetched, like SDL, so no build has to remember to ask.
+ // toolchain. Fetched ahead for what THIS machine can build — the Windows V8 only
+ // on Windows (MSVC links it), the NDK one anywhere — so a Linux desktop job no
+ // longer downloads a Windows archive it never links, and fails with it when
+ // that download does. A build still fetches its own on demand (jsEngineFor).
const v8 = {};
- for (const platform of ['windows', 'android']) {
+ const buildable = process.platform === 'win32' ? ['windows', 'android'] : ['android'];
+ for (const platform of buildable) {
if (pins.v8?.[platform]) v8[platform] = await fetchV8(platform, { root: rootDir, depsDir: deps });
}
diff --git a/sdk/etc/index.api.md b/sdk/etc/index.api.md
index b1c709941..1266da200 100644
--- a/sdk/etc/index.api.md
+++ b/sdk/etc/index.api.md
@@ -1,7 +1,7 @@
# API surface — esengine/index
<!-- Generated by tools/api-surface.mjs — do not edit. Run --update to accept changes. -->
-Symbols: 115 public · 164 beta · 2030 experimental · 3 deprecated
+Symbols: 115 public · 164 beta · 2032 experimental · 3 deprecated
## ABI_LAYOUT_HASH — const @experimental
```
@@ -1912,7 +1912,7 @@ source: string
## BuiltinSideModuleId — type @experimental
```
-'physics' | 'physics3d' | 'basis' | 'videodec' | 'dragonbones' | `spine:${SpineVersion}`
+'physics' | 'physics3d' | 'physics3d:physx' | 'basis' | 'videodec' | 'dragonbones' | `spine:${SpineVersion}`
```
## BundleMode — type @experimental
@@ -5622,6 +5622,7 @@ app: App
externalEntities: ReadonlyMap<number, number> | undefined
module: ESEngineModule | null
onPhase: ((phase: string, ms: number) => void) | undefined
+physics3dBackend: Physics3DBackend | undefined
physics3dModule: Physics3DWasmModule | undefined
physicsConfig: Physics2DPluginConfig | undefined
physicsEnabled: boolean | undefined
@@ -6402,11 +6403,13 @@ colorSpace: "gamma" | "linear" | undefined
debugChannel: DebugChannelConfig | undefined
depthLayers: number | undefined
engineBytes: number | undefined
+engineJs: boolean | undefined
entryScene: string
hotUpdate: { remoteRoot?: string; persistUpdateKey?: string; } | undefined
leaderboardEncryptionKey: string | undefined
msaaSamples: number | undefined
outputTransform: "none" | "aces" | "neutral" | undefined
+physics3dBackend: Physics3DBackend | undefined
physicsConfig: Physics2DPluginConfig | undefined
physicsEnabled: boolean | undefined
quality: QualityConfig | undefined
@@ -6845,6 +6848,11 @@ subStepCount: number | undefined
ResourceDef<Physics3DQueries | null>
```
+## Physics3DBackend — type @experimental
+```
+'jolt' | 'physx'
+```
+
## Physics3DDebugDraw — const @experimental
```
ResourceDef<Physics3DDebugDrawConfig>
@@ -7465,6 +7473,7 @@ extraScenes: { name: string; data?: SceneData; path?: string; }[] | undefined
manifest: AddressableManifest | null | undefined
module: ESEngineModule
persistUpdateKey: string | undefined
+physics3dBackend: Physics3DBackend | undefined
physicsConfig: Physics2DPluginConfig | undefined
physicsEnabled: boolean | undefined
remoteRoot: string | undefined
@@ -7495,6 +7504,7 @@ depthLayers: number | undefined
firstScene: string
manifest: AddressableManifest | null | undefined
module: ESEngineModule
+physics3dBackend: Physics3DBackend | undefined
physicsConfig: Physics2DPluginConfig | undefined
physicsEnabled: boolean | undefined
runtime: RuntimeBuildConfig | undefined
@@ -8811,6 +8821,7 @@ firstScene: string
manifest: AddressableManifest | ManifestModel | null | undefined
module: ESEngineModule | null
persistUpdateKey: string | undefined
+physics3dBackend: Physics3DBackend | undefined
physicsConfig: Physics2DPluginConfig | undefined
physicsEnabled: boolean | undefined
physicsModule: PhysicsWasmModule | null | undefined
@@ -15789,7 +15800,7 @@ MeshRendererPlugin
## packagedRuntimeInit — function @experimental
```
-(config: Pick<PackagedGameConfig, "physicsEnabled" | "physicsConfig" | "audioConfig" | "uiTheme" | "uiThemeColors" | "achievements" | "steamAppId" | "screenFit" | "aot" | "debugChannel" | "runtime">): { physicsEnabled?: boolean; physicsConfig?: Physics2DPluginConfig; audioConfig?: AudioProjectConfig; runtime?: RuntimeBuildConfig; uiTheme?: "light"; uiThemeOverrides?: ThemeOverrides; achievements?: string[]; steamAppId?: number; screenFit?: PackagedGameConfig["screenFit"]; aot?: PackagedGameConfig["aot"]; debugChannel?: DebugChannelConfig; }
+(config: Pick<PackagedGameConfig, "physicsEnabled" | "physicsConfig" | "physics3dBackend" | "audioConfig" | "uiTheme" | "uiThemeColors" | "achievements" | "steamAppId" | "screenFit" | "aot" | "debugChannel" | "runtime">): { physicsEnabled?: boolean; physicsConfig?: Physics2DPluginConfig; physics3dBackend?: Physics3DBackend; audioConfig?: AudioProjectConfig; runtime?: RuntimeBuildConfig; uiTheme?: "light"; uiThemeOverrides?: ThemeOverrides; achievements?: string[]; steamAppId?: number; screenFit?: PackagedGameConfig["screenFit"]; aot?: PackagedGameConfig["aot"]; debugChannel?: DebugChannelConfig; }
```
## paintWeights — function @experimental
@@ -15932,6 +15943,11 @@ ParticlePlugin
(app: App, manifest: WorldManifest): ReadonlyMap<number, Entity>
```
+## physics3dModuleId — function @experimental
+```
+(backend?: Physics3DBackend): BuiltinSideModuleId
+```
+
## pickEntitiesByRay — function @experimental
```
(world: PickWorld, ray: WorldRay, opts?: EntityPickOptions): Entity[]
diff --git a/sdk/etc/index.native.api.md b/sdk/etc/index.native.api.md
index 6e9f0cada..e1a15b9ca 100644
--- a/sdk/etc/index.native.api.md
+++ b/sdk/etc/index.native.api.md
@@ -1,7 +1,7 @@
# API surface — esengine/index.native
<!-- Generated by tools/api-surface.mjs — do not edit. Run --update to accept changes. -->
-Symbols: 115 public · 169 beta · 2049 experimental · 3 deprecated
+Symbols: 115 public · 169 beta · 2051 experimental · 3 deprecated
## ABI_LAYOUT_HASH — const @experimental
```
@@ -1912,7 +1912,7 @@ source: string
## BuiltinSideModuleId — type @experimental
```
-'physics' | 'physics3d' | 'basis' | 'videodec' | 'dragonbones' | `spine:${SpineVersion}`
+'physics' | 'physics3d' | 'physics3d:physx' | 'basis' | 'videodec' | 'dragonbones' | `spine:${SpineVersion}`
```
## BundleMode — type @experimental
@@ -5630,6 +5630,7 @@ app: App
externalEntities: ReadonlyMap<number, number> | undefined
module: ESEngineModule | null
onPhase: ((phase: string, ms: number) => void) | undefined
+physics3dBackend: Physics3DBackend | undefined
physics3dModule: Physics3DWasmModule | undefined
physicsConfig: Physics2DPluginConfig | undefined
physicsEnabled: boolean | undefined
@@ -6605,11 +6606,13 @@ colorSpace: "gamma" | "linear" | undefined
debugChannel: DebugChannelConfig | undefined
depthLayers: number | undefined
engineBytes: number | undefined
+engineJs: boolean | undefined
entryScene: string
hotUpdate: { remoteRoot?: string; persistUpdateKey?: string; } | undefined
leaderboardEncryptionKey: string | undefined
msaaSamples: number | undefined
outputTransform: "none" | "aces" | "neutral" | undefined
+physics3dBackend: Physics3DBackend | undefined
physicsConfig: Physics2DPluginConfig | undefined
physicsEnabled: boolean | undefined
quality: QualityConfig | undefined
@@ -7048,6 +7051,11 @@ subStepCount: number | undefined
ResourceDef<Physics3DQueries | null>
```
+## Physics3DBackend — type @experimental
+```
+'jolt' | 'physx'
+```
+
## Physics3DDebugDraw — const @experimental
```
ResourceDef<Physics3DDebugDrawConfig>
@@ -7668,6 +7676,7 @@ extraScenes: { name: string; data?: SceneData; path?: string; }[] | undefined
manifest: AddressableManifest | null | undefined
module: ESEngineModule
persistUpdateKey: string | undefined
+physics3dBackend: Physics3DBackend | undefined
physicsConfig: Physics2DPluginConfig | undefined
physicsEnabled: boolean | undefined
remoteRoot: string | undefined
@@ -7698,6 +7707,7 @@ depthLayers: number | undefined
firstScene: string
manifest: AddressableManifest | null | undefined
module: ESEngineModule
+physics3dBackend: Physics3DBackend | undefined
physicsConfig: Physics2DPluginConfig | undefined
physicsEnabled: boolean | undefined
runtime: RuntimeBuildConfig | undefined
@@ -9024,6 +9034,7 @@ firstScene: string
manifest: AddressableManifest | ManifestModel | null | undefined
module: ESEngineModule | null
persistUpdateKey: string | undefined
+physics3dBackend: Physics3DBackend | undefined
physicsConfig: Physics2DPluginConfig | undefined
physicsEnabled: boolean | undefined
physicsModule: PhysicsWasmModule | null | undefined
@@ -16052,7 +16063,7 @@ MeshRendererPlugin
## packagedRuntimeInit — function @experimental
```
-(config: Pick<PackagedGameConfig, "physicsEnabled" | "physicsConfig" | "audioConfig" | "uiTheme" | "uiThemeColors" | "achievements" | "steamAppId" | "screenFit" | "aot" | "debugChannel" | "runtime">): { physicsEnabled?: boolean; physicsConfig?: Physics2DPluginConfig; audioConfig?: AudioProjectConfig; runtime?: RuntimeBuildConfig; uiTheme?: "light"; uiThemeOverrides?: ThemeOverrides; achievements?: string[]; steamAppId?: number; screenFit?: PackagedGameConfig["screenFit"]; aot?: PackagedGameConfig["aot"]; debugChannel?: DebugChannelConfig; }
+(config: Pick<PackagedGameConfig, "physicsEnabled" | "physicsConfig" | "physics3dBackend" | "audioConfig" | "uiTheme" | "uiThemeColors" | "achievements" | "steamAppId" | "screenFit" | "aot" | "debugChannel" | "runtime">): { physicsEnabled?: boolean; physicsConfig?: Physics2DPluginConfig; physics3dBackend?: Physics3DBackend; audioConfig?: AudioProjectConfig; runtime?: RuntimeBuildConfig; uiTheme?: "light"; uiThemeOverrides?: ThemeOverrides; achievements?: string[]; steamAppId?: number; screenFit?: PackagedGameConfig["screenFit"]; aot?: PackagedGameConfig["aot"]; debugChannel?: DebugChannelConfig; }
```
## paintWeights — function @experimental
@@ -16195,6 +16206,11 @@ ParticlePlugin
(app: App, manifest: WorldManifest): ReadonlyMap<number, Entity>
```
+## physics3dModuleId — function @experimental
+```
+(backend?: Physics3DBackend): BuiltinSideModuleId
+```
+
## pickEntitiesByRay — function @experimental
```
(world: PickWorld, ray: WorldRay, opts?: EntityPickOptions): Entity[]
diff --git a/sdk/etc/index.node.api.md b/sdk/etc/index.node.api.md
index 778c21b75..6f25d9582 100644
--- a/sdk/etc/index.node.api.md
+++ b/sdk/etc/index.node.api.md
@@ -1,7 +1,7 @@
# API surface — esengine/index.node
<!-- Generated by tools/api-surface.mjs — do not edit. Run --update to accept changes. -->
-Symbols: 115 public · 166 beta · 2029 experimental · 3 deprecated
+Symbols: 115 public · 166 beta · 2031 experimental · 3 deprecated
## ANCHOR_AXES — const @experimental
```
@@ -1907,7 +1907,7 @@ source: string
## BuiltinSideModuleId — type @experimental
```
-'physics' | 'physics3d' | 'basis' | 'videodec' | 'dragonbones' | `spine:${SpineVersion}`
+'physics' | 'physics3d' | 'physics3d:physx' | 'basis' | 'videodec' | 'dragonbones' | `spine:${SpineVersion}`
```
## BundleMode — type @experimental
@@ -5617,6 +5617,7 @@ app: App
externalEntities: ReadonlyMap<number, number> | undefined
module: ESEngineModule | null
onPhase: ((phase: string, ms: number) => void) | undefined
+physics3dBackend: Physics3DBackend | undefined
physics3dModule: Physics3DWasmModule | undefined
physicsConfig: Physics2DPluginConfig | undefined
physicsEnabled: boolean | undefined
@@ -6397,11 +6398,13 @@ colorSpace: "gamma" | "linear" | undefined
debugChannel: DebugChannelConfig | undefined
depthLayers: number | undefined
engineBytes: number | undefined
+engineJs: boolean | undefined
entryScene: string
hotUpdate: { remoteRoot?: string; persistUpdateKey?: string; } | undefined
leaderboardEncryptionKey: string | undefined
msaaSamples: number | undefined
outputTransform: "none" | "aces" | "neutral" | undefined
+physics3dBackend: Physics3DBackend | undefined
physicsConfig: Physics2DPluginConfig | undefined
physicsEnabled: boolean | undefined
quality: QualityConfig | undefined
@@ -6840,6 +6843,11 @@ subStepCount: number | undefined
ResourceDef<Physics3DQueries | null>
```
+## Physics3DBackend — type @experimental
+```
+'jolt' | 'physx'
+```
+
## Physics3DDebugDraw — const @experimental
```
ResourceDef<Physics3DDebugDrawConfig>
@@ -7460,6 +7468,7 @@ extraScenes: { name: string; data?: SceneData; path?: string; }[] | undefined
manifest: AddressableManifest | null | undefined
module: ESEngineModule
persistUpdateKey: string | undefined
+physics3dBackend: Physics3DBackend | undefined
physicsConfig: Physics2DPluginConfig | undefined
physicsEnabled: boolean | undefined
remoteRoot: string | undefined
@@ -7490,6 +7499,7 @@ depthLayers: number | undefined
firstScene: string
manifest: AddressableManifest | null | undefined
module: ESEngineModule
+physics3dBackend: Physics3DBackend | undefined
physicsConfig: Physics2DPluginConfig | undefined
physicsEnabled: boolean | undefined
runtime: RuntimeBuildConfig | undefined
@@ -8806,6 +8816,7 @@ firstScene: string
manifest: AddressableManifest | ManifestModel | null | undefined
module: ESEngineModule | null
persistUpdateKey: string | undefined
+physics3dBackend: Physics3DBackend | undefined
physicsConfig: Physics2DPluginConfig | undefined
physicsEnabled: boolean | undefined
physicsModule: PhysicsWasmModule | null | undefined
@@ -15794,7 +15805,7 @@ NodePlatformAdapter
## packagedRuntimeInit — function @experimental
```
-(config: Pick<PackagedGameConfig, "physicsEnabled" | "physicsConfig" | "audioConfig" | "uiTheme" | "uiThemeColors" | "achievements" | "steamAppId" | "screenFit" | "aot" | "debugChannel" | "runtime">): { physicsEnabled?: boolean; physicsConfig?: Physics2DPluginConfig; audioConfig?: AudioProjectConfig; runtime?: RuntimeBuildConfig; uiTheme?: "light"; uiThemeOverrides?: ThemeOverrides; achievements?: string[]; steamAppId?: number; screenFit?: PackagedGameConfig["screenFit"]; aot?: PackagedGameConfig["aot"]; debugChannel?: DebugChannelConfig; }
+(config: Pick<PackagedGameConfig, "physicsEnabled" | "physicsConfig" | "physics3dBackend" | "audioConfig" | "uiTheme" | "uiThemeColors" | "achievements" | "steamAppId" | "screenFit" | "aot" | "debugChannel" | "runtime">): { physicsEnabled?: boolean; physicsConfig?: Physics2DPluginConfig; physics3dBackend?: Physics3DBackend; audioConfig?: AudioProjectConfig; runtime?: RuntimeBuildConfig; uiTheme?: "light"; uiThemeOverrides?: ThemeOverrides; achievements?: string[]; steamAppId?: number; screenFit?: PackagedGameConfig["screenFit"]; aot?: PackagedGameConfig["aot"]; debugChannel?: DebugChannelConfig; }
```
## paintWeights — function @experimental
@@ -15937,6 +15948,11 @@ ParticlePlugin
(app: App, manifest: WorldManifest): ReadonlyMap<number, Entity>
```
+## physics3dModuleId — function @experimental
+```
+(backend?: Physics3DBackend): BuiltinSideModuleId
+```
+
## pickEntitiesByRay — function @experimental
```
(world: PickWorld, ray: WorldRay, opts?: EntityPickOptions): Entity[]
diff --git a/sdk/etc/minigame.api.md b/sdk/etc/minigame.api.md
index e9b0dc82e..5ad224514 100644
--- a/sdk/etc/minigame.api.md
+++ b/sdk/etc/minigame.api.md
@@ -1,7 +1,7 @@
# API surface — esengine/minigame
<!-- Generated by tools/api-surface.mjs — do not edit. Run --update to accept changes. -->
-Symbols: 115 public · 164 beta · 2051 experimental · 3 deprecated
+Symbols: 115 public · 164 beta · 2053 experimental · 3 deprecated
## ANCHOR_AXES — const @experimental
```
@@ -1907,7 +1907,7 @@ source: string
## BuiltinSideModuleId — type @experimental
```
-'physics' | 'physics3d' | 'basis' | 'videodec' | 'dragonbones' | `spine:${SpineVersion}`
+'physics' | 'physics3d' | 'physics3d:physx' | 'basis' | 'videodec' | 'dragonbones' | `spine:${SpineVersion}`
```
## BundleMode — type @experimental
@@ -5617,6 +5617,7 @@ app: App
externalEntities: ReadonlyMap<number, number> | undefined
module: ESEngineModule | null
onPhase: ((phase: string, ms: number) => void) | undefined
+physics3dBackend: Physics3DBackend | undefined
physics3dModule: Physics3DWasmModule | undefined
physicsConfig: Physics2DPluginConfig | undefined
physicsEnabled: boolean | undefined
@@ -6297,6 +6298,7 @@ engineFactory: (opts: unknown) => Promise<ESEngineModule>
engineWasmPath: string
firstScene: string
hotUpdate: { remoteRoot?: string; persistUpdateKey?: string; } | undefined
+physics3dBackend: Physics3DBackend | undefined
physicsConfig: Physics2DPluginConfig | undefined
physicsEnabled: boolean | undefined
runtime: RuntimeBuildConfig | undefined
@@ -6692,11 +6694,13 @@ colorSpace: "gamma" | "linear" | undefined
debugChannel: DebugChannelConfig | undefined
depthLayers: number | undefined
engineBytes: number | undefined
+engineJs: boolean | undefined
entryScene: string
hotUpdate: { remoteRoot?: string; persistUpdateKey?: string; } | undefined
leaderboardEncryptionKey: string | undefined
msaaSamples: number | undefined
outputTransform: "none" | "aces" | "neutral" | undefined
+physics3dBackend: Physics3DBackend | undefined
physicsConfig: Physics2DPluginConfig | undefined
physicsEnabled: boolean | undefined
quality: QualityConfig | undefined
@@ -7135,6 +7139,11 @@ subStepCount: number | undefined
ResourceDef<Physics3DQueries | null>
```
+## Physics3DBackend — type @experimental
+```
+'jolt' | 'physx'
+```
+
## Physics3DDebugDraw — const @experimental
```
ResourceDef<Physics3DDebugDrawConfig>
@@ -7755,6 +7764,7 @@ extraScenes: { name: string; data?: SceneData; path?: string; }[] | undefined
manifest: AddressableManifest | null | undefined
module: ESEngineModule
persistUpdateKey: string | undefined
+physics3dBackend: Physics3DBackend | undefined
physicsConfig: Physics2DPluginConfig | undefined
physicsEnabled: boolean | undefined
remoteRoot: string | undefined
@@ -7785,6 +7795,7 @@ depthLayers: number | undefined
firstScene: string
manifest: AddressableManifest | null | undefined
module: ESEngineModule
+physics3dBackend: Physics3DBackend | undefined
physicsConfig: Physics2DPluginConfig | undefined
physicsEnabled: boolean | undefined
runtime: RuntimeBuildConfig | undefined
@@ -9101,6 +9112,7 @@ firstScene: string
manifest: AddressableManifest | ManifestModel | null | undefined
module: ESEngineModule | null
persistUpdateKey: string | undefined
+physics3dBackend: Physics3DBackend | undefined
physicsConfig: Physics2DPluginConfig | undefined
physicsEnabled: boolean | undefined
physicsModule: PhysicsWasmModule | null | undefined
@@ -16100,7 +16112,7 @@ MeshRendererPlugin
## packagedRuntimeInit — function @experimental
```
-(config: Pick<PackagedGameConfig, "physicsEnabled" | "physicsConfig" | "audioConfig" | "uiTheme" | "uiThemeColors" | "achievements" | "steamAppId" | "screenFit" | "aot" | "debugChannel" | "runtime">): { physicsEnabled?: boolean; physicsConfig?: Physics2DPluginConfig; audioConfig?: AudioProjectConfig; runtime?: RuntimeBuildConfig; uiTheme?: "light"; uiThemeOverrides?: ThemeOverrides; achievements?: string[]; steamAppId?: number; screenFit?: PackagedGameConfig["screenFit"]; aot?: PackagedGameConfig["aot"]; debugChannel?: DebugChannelConfig; }
+(config: Pick<PackagedGameConfig, "physicsEnabled" | "physicsConfig" | "physics3dBackend" | "audioConfig" | "uiTheme" | "uiThemeColors" | "achievements" | "steamAppId" | "screenFit" | "aot" | "debugChannel" | "runtime">): { physicsEnabled?: boolean; physicsConfig?: Physics2DPluginConfig; physics3dBackend?: Physics3DBackend; audioConfig?: AudioProjectConfig; runtime?: RuntimeBuildConfig; uiTheme?: "light"; uiThemeOverrides?: ThemeOverrides; achievements?: string[]; steamAppId?: number; screenFit?: PackagedGameConfig["screenFit"]; aot?: PackagedGameConfig["aot"]; debugChannel?: DebugChannelConfig; }
```
## paintWeights — function @experimental
@@ -16243,6 +16255,11 @@ ParticlePlugin
(app: App, manifest: WorldManifest): ReadonlyMap<number, Entity>
```
+## physics3dModuleId — function @experimental
+```
+(backend?: Physics3DBackend): BuiltinSideModuleId
+```
+
## pickEntitiesByRay — function @experimental
```
(world: PickWorld, ray: WorldRay, opts?: EntityPickOptions): Entity[]
diff --git a/sdk/etc/wechat.api.md b/sdk/etc/wechat.api.md
index 06aa89daf..b9c12864c 100644
--- a/sdk/etc/wechat.api.md
+++ b/sdk/etc/wechat.api.md
@@ -1,7 +1,7 @@
# API surface — esengine/wechat
<!-- Generated by tools/api-surface.mjs — do not edit. Run --update to accept changes. -->
-Symbols: 115 public · 164 beta · 2042 experimental · 3 deprecated
+Symbols: 115 public · 164 beta · 2044 experimental · 3 deprecated
## ANCHOR_AXES — const @experimental
```
@@ -1907,7 +1907,7 @@ source: string
## BuiltinSideModuleId — type @experimental
```
-'physics' | 'physics3d' | 'basis' | 'videodec' | 'dragonbones' | `spine:${SpineVersion}`
+'physics' | 'physics3d' | 'physics3d:physx' | 'basis' | 'videodec' | 'dragonbones' | `spine:${SpineVersion}`
```
## BundleMode — type @experimental
@@ -5624,6 +5624,7 @@ app: App
externalEntities: ReadonlyMap<number, number> | undefined
module: ESEngineModule | null
onPhase: ((phase: string, ms: number) => void) | undefined
+physics3dBackend: Physics3DBackend | undefined
physics3dModule: Physics3DWasmModule | undefined
physicsConfig: Physics2DPluginConfig | undefined
physicsEnabled: boolean | undefined
@@ -6404,11 +6405,13 @@ colorSpace: "gamma" | "linear" | undefined
debugChannel: DebugChannelConfig | undefined
depthLayers: number | undefined
engineBytes: number | undefined
+engineJs: boolean | undefined
entryScene: string
hotUpdate: { remoteRoot?: string; persistUpdateKey?: string; } | undefined
leaderboardEncryptionKey: string | undefined
msaaSamples: number | undefined
outputTransform: "none" | "aces" | "neutral" | undefined
+physics3dBackend: Physics3DBackend | undefined
physicsConfig: Physics2DPluginConfig | undefined
physicsEnabled: boolean | undefined
quality: QualityConfig | undefined
@@ -6847,6 +6850,11 @@ subStepCount: number | undefined
ResourceDef<Physics3DQueries | null>
```
+## Physics3DBackend — type @experimental
+```
+'jolt' | 'physx'
+```
+
## Physics3DDebugDraw — const @experimental
```
ResourceDef<Physics3DDebugDrawConfig>
@@ -7467,6 +7475,7 @@ extraScenes: { name: string; data?: SceneData; path?: string; }[] | undefined
manifest: AddressableManifest | null | undefined
module: ESEngineModule
persistUpdateKey: string | undefined
+physics3dBackend: Physics3DBackend | undefined
physicsConfig: Physics2DPluginConfig | undefined
physicsEnabled: boolean | undefined
remoteRoot: string | undefined
@@ -7497,6 +7506,7 @@ depthLayers: number | undefined
firstScene: string
manifest: AddressableManifest | null | undefined
module: ESEngineModule
+physics3dBackend: Physics3DBackend | undefined
physicsConfig: Physics2DPluginConfig | undefined
physicsEnabled: boolean | undefined
runtime: RuntimeBuildConfig | undefined
@@ -8813,6 +8823,7 @@ firstScene: string
manifest: AddressableManifest | ManifestModel | null | undefined
module: ESEngineModule | null
persistUpdateKey: string | undefined
+physics3dBackend: Physics3DBackend | undefined
physicsConfig: Physics2DPluginConfig | undefined
physicsEnabled: boolean | undefined
physicsModule: PhysicsWasmModule | null | undefined
@@ -12969,6 +12980,7 @@ engineFactory: (opts: unknown) => Promise<ESEngineModule>
engineWasmPath: string | undefined
firstScene: string
hotUpdate: { remoteRoot?: string; persistUpdateKey?: string; } | undefined
+physics3dBackend: Physics3DBackend | undefined
physicsConfig: Physics2DPluginConfig | undefined
physicsEnabled: boolean | undefined
runtime: RuntimeBuildConfig | undefined
@@ -15826,7 +15838,7 @@ MeshRendererPlugin
## packagedRuntimeInit — function @experimental
```
-(config: Pick<PackagedGameConfig, "physicsEnabled" | "physicsConfig" | "audioConfig" | "uiTheme" | "uiThemeColors" | "achievements" | "steamAppId" | "screenFit" | "aot" | "debugChannel" | "runtime">): { physicsEnabled?: boolean; physicsConfig?: Physics2DPluginConfig; audioConfig?: AudioProjectConfig; runtime?: RuntimeBuildConfig; uiTheme?: "light"; uiThemeOverrides?: ThemeOverrides; achievements?: string[]; steamAppId?: number; screenFit?: PackagedGameConfig["screenFit"]; aot?: PackagedGameConfig["aot"]; debugChannel?: DebugChannelConfig; }
+(config: Pick<PackagedGameConfig, "physicsEnabled" | "physicsConfig" | "physics3dBackend" | "audioConfig" | "uiTheme" | "uiThemeColors" | "achievements" | "steamAppId" | "screenFit" | "aot" | "debugChannel" | "runtime">): { physicsEnabled?: boolean; physicsConfig?: Physics2DPluginConfig; physics3dBackend?: Physics3DBackend; audioConfig?: AudioProjectConfig; runtime?: RuntimeBuildConfig; uiTheme?: "light"; uiThemeOverrides?: ThemeOverrides; achievements?: string[]; steamAppId?: number; screenFit?: PackagedGameConfig["screenFit"]; aot?: PackagedGameConfig["aot"]; debugChannel?: DebugChannelConfig; }
```
## paintWeights — function @experimental
@@ -15969,6 +15981,11 @@ ParticlePlugin
(app: App, manifest: WorldManifest): ReadonlyMap<number, Entity>
```
+## physics3dModuleId — function @experimental
+```
+(backend?: Physics3DBackend): BuiltinSideModuleId
+```
+
## pickEntitiesByRay — function @experimental
```
(world: PickWorld, ray: WorldRay, opts?: EntityPickOptions): Entity[]