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.
TypeScript 2d-game-engine3d3d-game-engineandroidcppecsgame-editorgame-enginegamedeviostypescriptwebassemblywebglwebgpuwechat-minigame
refactor(physics): one word per joint, whichever plane it is in
esenginee311fcfd85f1
diff --git a/desktop b/desktopindex a26237812..ccb4a304a 160000--- a/desktop+++ b/desktop@@ -1 +1 @@-Subproject commit a26237812a454ed9bd36519ebf2fd3304315a751+Subproject commit ccb4a304aae9d71309ec5ec94fbb6969b7cfd587diff --git a/docs/astro/src/content/docs/gameplay/physics.mdx b/docs/astro/src/content/docs/gameplay/physics.mdxindex d56a44859..f3cd103e7 100644--- a/docs/astro/src/content/docs/gameplay/physics.mdx+++ b/docs/astro/src/content/docs/gameplay/physics.mdx@@ -246,8 +246,8 @@ const onHit = defineSystem([Res(Physics2DEvents)], (events) => {*What each joint constrains: a **Revolute** hinge (rotate about a pin), a **Distance** spring/rod, a **Prismatic** slider (one axis), a rigid **Weld**, a **Wheel** (suspension + free spin), and a **Motor** (driven toward a target velocity).*-Connect two bodies. Add a joint **component** (`RevoluteJoint2D`, `DistanceJoint2D`,-`PrismaticJoint2D`, `WeldJoint2D`, `WheelJoint2D`, `MotorJoint2D`), or create one imperatively+Connect two bodies. Add a joint **component** (`HingeJoint2D`, `DistanceJoint2D`,+`SliderJoint2D`, `FixedJoint2D`, `WheelJoint2D`, `MotorJoint2D`), or create one imperativelyand drive its motor / limits:```typescriptdiff --git a/docs/astro/src/content/docs/zh-cn/gameplay/physics.mdx b/docs/astro/src/content/docs/zh-cn/gameplay/physics.mdxindex acc890ca3..995ff4c7f 100644--- a/docs/astro/src/content/docs/zh-cn/gameplay/physics.mdx+++ b/docs/astro/src/content/docs/zh-cn/gameplay/physics.mdx@@ -234,8 +234,8 @@ const onHit = defineSystem([Res(Physics2DEvents)], (events) => {*每种关节约束什么:**Revolute** 铰链(绕销钉转动)、**Distance** 弹簧/连杆、**Prismatic** 滑轨(单轴滑动)、刚性 **Weld** 焊接、**Wheel** 车轮(悬挂 + 自由旋转),以及 **Motor** 马达(驱向目标速度)。*-连接两个刚体。加一个关节**组件**(`RevoluteJoint2D`、`DistanceJoint2D`、`PrismaticJoint2D`、-`WeldJoint2D`、`WheelJoint2D`、`MotorJoint2D`),或命令式创建一个并驱动它的马达 / 限位:+连接两个刚体。加一个关节**组件**(`HingeJoint2D`、`DistanceJoint2D`、`SliderJoint2D`、+`FixedJoint2D`、`WheelJoint2D`、`MotorJoint2D`),或命令式创建一个并驱动它的马达 / 限位:```typescript// A hinge with a motor (a powered wheel or swinging door).diff --git a/docs/astro/src/data/componentDocs.ts b/docs/astro/src/data/componentDocs.tsindex 70ed5c105..dd39b1698 100644--- a/docs/astro/src/data/componentDocs.ts+++ b/docs/astro/src/data/componentDocs.ts@@ -122,9 +122,9 @@ export const COMPONENT_DOCS: Record<string, ComponentDoc> = {CharacterController2D: { category: 'physics', summary: 'Kinematic character movement that slides along walls, climbs slopes and reports ground contact.', doc: 'gameplay/physics', anchor: 'character-controller', anchorZh: '角色控制器' },OneWayPlatform2D: { category: 'physics', summary: 'Makes a collider solid from one side only, so a body passes up through it and lands on top.', doc: 'gameplay/physics', anchor: 'one-way-platforms', anchorZh: '单向平台' },DistanceJoint2D: { category: 'physics', summary: 'Holds two bodies a fixed (or spring-limited) distance apart.', doc: 'gameplay/physics', anchor: 'joints', anchorZh: '关节' },- RevoluteJoint2D: { category: 'physics', summary: 'Pins two bodies at a point and lets them rotate — a hinge, with optional limits and a motor.', doc: 'gameplay/physics', anchor: 'joints', anchorZh: '关节' },- PrismaticJoint2D: { category: 'physics', summary: 'Constrains two bodies to slide along one axis — a piston or lift.', doc: 'gameplay/physics', anchor: 'joints', anchorZh: '关节' },- WeldJoint2D: { category: 'physics', summary: 'Locks two bodies rigidly together, with optional spring give.', doc: 'gameplay/physics', anchor: 'joints', anchorZh: '关节' },+ HingeJoint2D: { category: 'physics', summary: 'Pins two bodies at a point and lets them rotate — a hinge, with optional limits and a motor.', doc: 'gameplay/physics', anchor: 'joints', anchorZh: '关节' },+ SliderJoint2D: { category: 'physics', summary: 'Constrains two bodies to slide along one axis — a piston or lift.', doc: 'gameplay/physics', anchor: 'joints', anchorZh: '关节' },+ FixedJoint2D: { category: 'physics', summary: 'Locks two bodies rigidly together, with optional spring give.', doc: 'gameplay/physics', anchor: 'joints', anchorZh: '关节' },MotorJoint2D: { category: 'physics', summary: 'Drives one body toward a target offset and angle — moving platforms and conveyors.', doc: 'gameplay/physics', anchor: 'joints', anchorZh: '关节' },WheelJoint2D: { category: 'physics', summary: 'A suspension axis plus a spinning axle — the wheel half of a vehicle.', doc: 'gameplay/physics', anchor: 'joints', anchorZh: '关节' },diff --git a/docs/astro/src/data/components.generated.json b/docs/astro/src/data/components.generated.jsonindex ad9715bd5..b2c726da2 100644--- a/docs/astro/src/data/components.generated.json+++ b/docs/astro/src/data/components.generated.json@@ -1304,6 +1304,68 @@}]},+ {+ "name": "FixedJoint2D",+ "source": "ts",+ "fields": [+ {+ "key": "connectedEntity",+ "type": "Entity",+ "default": "-1"+ },+ {+ "key": "anchorA",+ "type": "Vec2",+ "default": "(0, 0)"+ },+ {+ "key": "anchorB",+ "type": "Vec2",+ "default": "(0, 0)"+ },+ {+ "key": "linearHertz",+ "type": "number",+ "default": "0"+ },+ {+ "key": "angularHertz",+ "type": "number",+ "default": "0"+ },+ {+ "key": "linearDampingRatio",+ "type": "number",+ "default": "1"+ },+ {+ "key": "angularDampingRatio",+ "type": "number",+ "default": "1"+ },+ {+ "key": "collideConnected",+ "type": "boolean",+ "default": "false"+ },+ {+ "key": "enabled",+ "type": "boolean",+ "default": "true"+ }+ ],+ "animatable": [+ "connectedEntity",+ "anchorA.x",+ "anchorA.y",+ "anchorB.x",+ "anchorB.y",+ "linearHertz",+ "angularHertz",+ "linearDampingRatio",+ "angularDampingRatio"+ ]+ },{"name": "FixedJoint3D","source": "ts",@@ -1469,6 +1531,78 @@"damping"]},+ {+ "name": "HingeJoint2D",+ "source": "ts",+ "fields": [+ {+ "key": "connectedEntity",+ "type": "Entity",+ "default": "-1"+ },+ {+ "key": "anchorA",+ "type": "Vec2",+ "default": "(0, 0)"+ },+ {+ "key": "anchorB",+ "type": "Vec2",+ "default": "(0, 0)"+ },+ {+ "key": "enableMotor",+ "type": "boolean",+ "default": "false"+ },+ {+ "key": "motorSpeed",+ "type": "number",+ "default": "0"+ },+ {+ "key": "maxMotorTorque",+ "type": "number",+ "default": "0"+ },+ {+ "key": "enableLimit",+ "type": "boolean",+ "default": "false"+ },+ {+ "key": "lowerAngle",+ "type": "number",+ "default": "0"+ },+ {+ "key": "upperAngle",+ "type": "number",+ "default": "0"+ },+ {+ "key": "collideConnected",+ "type": "boolean",+ "default": "false"+ },+ {+ "key": "enabled",+ "type": "boolean",+ "default": "true"+ }+ ],+ "animatable": [+ "connectedEntity",+ "anchorA.x",+ "anchorA.y",+ "anchorB.x",+ "anchorB.y",+ "motorSpeed",+ "maxMotorTorque",+ "lowerAngle",+ "upperAngle"+ ]+ },{"name": "HingeJoint3D","source": "ts",@@ -2855,102 +2989,6 @@"blendDistance"]},- {- "name": "PrismaticJoint2D",- "source": "ts",- "fields": [- {- "key": "connectedEntity",- "type": "Entity",- "default": "-1"- },- {- "key": "anchorA",- "type": "Vec2",- "default": "(0, 0)"- },- {- "key": "anchorB",- "type": "Vec2",- "default": "(0, 0)"- },- {- "key": "axis",- "type": "Vec2",- "default": "(1, 0)"- },- {- "key": "enableSpring",- "type": "boolean",- "default": "false"- },- {- "key": "hertz",- "type": "number",- "default": "1"- },- {- "key": "dampingRatio",- "type": "number",- "default": "0.5"- },- {- "key": "enableLimit",- "type": "boolean",- "default": "false"- },- {- "key": "lowerTranslation",- "type": "number",- "default": "0"- },- {- "key": "upperTranslation",- "type": "number",- "default": "0"- },- {- "key": "enableMotor",- "type": "boolean",- "default": "false"- },- {- "key": "maxMotorForce",- "type": "number",- "default": "0"- },- {- "key": "motorSpeed",- "type": "number",- "default": "0"- },- {- "key": "collideConnected",- "type": "boolean",- "default": "false"- },- {- "key": "enabled",- "type": "boolean",- "default": "true"- }- ],- "animatable": [- "connectedEntity",- "anchorA.x",- "anchorA.y",- "anchorB.x",- "anchorB.y",- "axis.x",- "axis.y",- "hertz",- "dampingRatio",- "lowerTranslation",- "upperTranslation",- "maxMotorForce",- "motorSpeed"- ]- },{"name": "Replicated","source": "ts",@@ -2971,78 +3009,6 @@"owner"]},- {- "name": "RevoluteJoint2D",- "source": "ts",- "fields": [- {- "key": "connectedEntity",- "type": "Entity",- "default": "-1"- },- {- "key": "anchorA",- "type": "Vec2",- "default": "(0, 0)"- },- {- "key": "anchorB",- "type": "Vec2",- "default": "(0, 0)"- },- {- "key": "enableMotor",- "type": "boolean",- "default": "false"- },- {- "key": "motorSpeed",- "type": "number",- "default": "0"- },- {- "key": "maxMotorTorque",- "type": "number",- "default": "0"- },- {- "key": "enableLimit",- "type": "boolean",- "default": "false"- },- {- "key": "lowerAngle",- "type": "number",- "default": "0"- },- {- "key": "upperAngle",- "type": "number",- "default": "0"- },- {- "key": "collideConnected",- "type": "boolean",- "default": "false"- },- {- "key": "enabled",- "type": "boolean",- "default": "true"- }- ],- "animatable": [- "connectedEntity",- "anchorA.x",- "anchorA.y",- "anchorB.x",- "anchorB.y",- "motorSpeed",- "maxMotorTorque",- "lowerAngle",- "upperAngle"- ]- },{"name": "RigidBody2D","source": "cpp",@@ -3329,6 +3295,102 @@}]},+ {+ "name": "SliderJoint2D",+ "source": "ts",+ "fields": [+ {+ "key": "connectedEntity",+ "type": "Entity",+ "default": "-1"+ },+ {+ "key": "anchorA",+ "type": "Vec2",+ "default": "(0, 0)"+ },+ {+ "key": "anchorB",+ "type": "Vec2",+ "default": "(0, 0)"+ },+ {+ "key": "axis",+ "type": "Vec2",+ "default": "(1, 0)"+ },+ {+ "key": "enableSpring",+ "type": "boolean",+ "default": "false"+ },+ {+ "key": "hertz",+ "type": "number",+ "default": "1"+ },+ {+ "key": "dampingRatio",+ "type": "number",+ "default": "0.5"+ },+ {+ "key": "enableLimit",+ "type": "boolean",+ "default": "false"+ },+ {+ "key": "lowerTranslation",+ "type": "number",+ "default": "0"+ },+ {+ "key": "upperTranslation",+ "type": "number",+ "default": "0"+ },+ {+ "key": "enableMotor",+ "type": "boolean",+ "default": "false"+ },+ {+ "key": "maxMotorForce",+ "type": "number",+ "default": "0"+ },+ {+ "key": "motorSpeed",+ "type": "number",+ "default": "0"+ },+ {+ "key": "collideConnected",+ "type": "boolean",+ "default": "false"+ },+ {+ "key": "enabled",+ "type": "boolean",+ "default": "true"+ }+ ],+ "animatable": [+ "connectedEntity",+ "anchorA.x",+ "anchorA.y",+ "anchorB.x",+ "anchorB.y",+ "axis.x",+ "axis.y",+ "hertz",+ "dampingRatio",+ "lowerTranslation",+ "upperTranslation",+ "maxMotorForce",+ "motorSpeed"+ ]+ },{"name": "SliderJoint3D","source": "ts",@@ -4872,68 +4934,6 @@"playbackRate"]},- {- "name": "WeldJoint2D",- "source": "ts",- "fields": [- {- "key": "connectedEntity",- "type": "Entity",- "default": "-1"- },- {- "key": "anchorA",- "type": "Vec2",- "default": "(0, 0)"- },- {- "key": "anchorB",- "type": "Vec2",- "default": "(0, 0)"- },- {- "key": "linearHertz",- "type": "number",- "default": "0"- },- {- "key": "angularHertz",- "type": "number",- "default": "0"- },- {- "key": "linearDampingRatio",- "type": "number",- "default": "1"- },- {- "key": "angularDampingRatio",- "type": "number",- "default": "1"- },- {- "key": "collideConnected",- "type": "boolean",- "default": "false"- },- {- "key": "enabled",- "type": "boolean",- "default": "true"- }- ],- "animatable": [- "connectedEntity",- "anchorA.x",- "anchorA.y",- "anchorB.x",- "anchorB.y",- "linearHertz",- "angularHertz",- "linearDampingRatio",- "angularDampingRatio"- ]- },{"name": "WheelJoint2D","source": "ts",diff --git a/examples/audio-demo/assets/scenes/main.esscene b/examples/audio-demo/assets/scenes/main.essceneindex b5fb344d6..dd753e7ba 100644--- a/examples/audio-demo/assets/scenes/main.esscene+++ b/examples/audio-demo/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/camera-follow/assets/scenes/main.esscene b/examples/camera-follow/assets/scenes/main.essceneindex 2a8abc242..a1a149ef8 100644--- a/examples/camera-follow/assets/scenes/main.esscene+++ b/examples/camera-follow/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/celestial-heights/assets/scenes/hud.esscene b/examples/celestial-heights/assets/scenes/hud.essceneindex bd534a3bc..e827c3c5f 100644--- a/examples/celestial-heights/assets/scenes/hud.esscene+++ b/examples/celestial-heights/assets/scenes/hud.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "hud","folders": [],"entities": [diff --git a/examples/celestial-heights/assets/scenes/main.esscene b/examples/celestial-heights/assets/scenes/main.essceneindex 6c2ceb863..5e00a90b9 100644--- a/examples/celestial-heights/assets/scenes/main.esscene+++ b/examples/celestial-heights/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "main","folders": ["Environment",diff --git a/examples/celestial-heights/assets/scenes/moonlit-gallery.esscene b/examples/celestial-heights/assets/scenes/moonlit-gallery.essceneindex f368e69da..61c572e08 100644--- a/examples/celestial-heights/assets/scenes/moonlit-gallery.esscene+++ b/examples/celestial-heights/assets/scenes/moonlit-gallery.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "moonlit-gallery","folders": ["Environment",diff --git a/examples/celestial-heights/assets/scenes/spire.esscene b/examples/celestial-heights/assets/scenes/spire.essceneindex c781ec60f..ae8e7bd8d 100644--- a/examples/celestial-heights/assets/scenes/spire.esscene+++ b/examples/celestial-heights/assets/scenes/spire.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "spire","folders": ["Environment",diff --git a/examples/chat/assets/scenes/main.esscene b/examples/chat/assets/scenes/main.essceneindex d419bf70a..db815a0bd 100644--- a/examples/chat/assets/scenes/main.esscene+++ b/examples/chat/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/collision-layers/assets/scenes/main.esscene b/examples/collision-layers/assets/scenes/main.essceneindex 29e1901a5..50746f923 100644--- a/examples/collision-layers/assets/scenes/main.esscene+++ b/examples/collision-layers/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/cutscene/assets/scenes/main.esscene b/examples/cutscene/assets/scenes/main.essceneindex 16be89d10..c86dded5c 100644--- a/examples/cutscene/assets/scenes/main.esscene+++ b/examples/cutscene/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/dragonbones-demo/assets/scenes/main.esscene b/examples/dragonbones-demo/assets/scenes/main.essceneindex bdea9bf16..ac0b7227e 100644--- a/examples/dragonbones-demo/assets/scenes/main.esscene+++ b/examples/dragonbones-demo/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "DragonBonesDemo","entities": [{diff --git a/examples/drawing-demo/assets/scenes/main.esscene b/examples/drawing-demo/assets/scenes/main.essceneindex fef496b51..f4fd42fcd 100644--- a/examples/drawing-demo/assets/scenes/main.esscene+++ b/examples/drawing-demo/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/ecs-basics/assets/scenes/main.esscene b/examples/ecs-basics/assets/scenes/main.essceneindex 9cc86e4c0..cd5ad72b8 100644--- a/examples/ecs-basics/assets/scenes/main.esscene+++ b/examples/ecs-basics/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/effects-gallery/assets/scenes/main.esscene b/examples/effects-gallery/assets/scenes/main.essceneindex a976003af..c58dc5748 100644--- a/examples/effects-gallery/assets/scenes/main.esscene+++ b/examples/effects-gallery/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/enemy-ai-3d/assets/scenes/main.esscene b/examples/enemy-ai-3d/assets/scenes/main.essceneindex 4f704d2ee..be0e92c6d 100644--- a/examples/enemy-ai-3d/assets/scenes/main.esscene+++ b/examples/enemy-ai-3d/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/enemy-ai/assets/scenes/main.esscene b/examples/enemy-ai/assets/scenes/main.essceneindex b6ba85dd4..01d77fab4 100644--- a/examples/enemy-ai/assets/scenes/main.esscene+++ b/examples/enemy-ai/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/event-system/assets/scenes/main.esscene b/examples/event-system/assets/scenes/main.essceneindex 9cc86e4c0..cd5ad72b8 100644--- a/examples/event-system/assets/scenes/main.esscene+++ b/examples/event-system/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/hello-world/assets/scenes/main.esscene b/examples/hello-world/assets/scenes/main.essceneindex 90981c65d..930e72354 100644--- a/examples/hello-world/assets/scenes/main.esscene+++ b/examples/hello-world/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/hot-update-demo/assets/scenes/main.esscene b/examples/hot-update-demo/assets/scenes/main.essceneindex c7fea11d4..4f5779245 100644--- a/examples/hot-update-demo/assets/scenes/main.esscene+++ b/examples/hot-update-demo/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/input-actions/assets/scenes/main.esscene b/examples/input-actions/assets/scenes/main.essceneindex f507d10ec..5dbb3c7b0 100644--- a/examples/input-actions/assets/scenes/main.esscene+++ b/examples/input-actions/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/input-demo/assets/scenes/main.esscene b/examples/input-demo/assets/scenes/main.essceneindex e4adbed27..450cb4597 100644--- a/examples/input-demo/assets/scenes/main.esscene+++ b/examples/input-demo/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/lighting-2d/assets/scenes/main.esscene b/examples/lighting-2d/assets/scenes/main.essceneindex d097441bb..593140558 100644--- a/examples/lighting-2d/assets/scenes/main.esscene+++ b/examples/lighting-2d/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/lighting-3d/assets/scenes/main.esscene b/examples/lighting-3d/assets/scenes/main.essceneindex 8da9df341..b849a4f2c 100644--- a/examples/lighting-3d/assets/scenes/main.esscene+++ b/examples/lighting-3d/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/model-import/assets/scenes/main.esscene b/examples/model-import/assets/scenes/main.essceneindex d17dd58b7..f3fac4ccd 100644--- a/examples/model-import/assets/scenes/main.esscene+++ b/examples/model-import/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/multiplayer-arena/assets/scenes/main.esscene b/examples/multiplayer-arena/assets/scenes/main.essceneindex 7c2fe2c3c..237e976d0 100644--- a/examples/multiplayer-arena/assets/scenes/main.esscene+++ b/examples/multiplayer-arena/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/particle-demo/assets/scenes/main.esscene b/examples/particle-demo/assets/scenes/main.essceneindex ef89174ee..858c0682c 100644--- a/examples/particle-demo/assets/scenes/main.esscene+++ b/examples/particle-demo/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/particle-demo/assets/scenes/static-emitters.esscene b/examples/particle-demo/assets/scenes/static-emitters.essceneindex 763a60656..b0b35502e 100644--- a/examples/particle-demo/assets/scenes/static-emitters.esscene+++ b/examples/particle-demo/assets/scenes/static-emitters.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Static Emitters","entities": [{diff --git a/examples/physics-3d/assets/scenes/main.esscene b/examples/physics-3d/assets/scenes/main.essceneindex 603a2f7f1..e1ccd21ca 100644--- a/examples/physics-3d/assets/scenes/main.esscene+++ b/examples/physics-3d/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/physics-playground/assets/scenes/main.esscene b/examples/physics-playground/assets/scenes/main.essceneindex 639facc00..e4a46e9d2 100644--- a/examples/physics-playground/assets/scenes/main.esscene+++ b/examples/physics-playground/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/physics-playground/assets/scenes/showcase.esscene b/examples/physics-playground/assets/scenes/showcase.essceneindex b1d20542c..eff884c91 100644--- a/examples/physics-playground/assets/scenes/showcase.esscene+++ b/examples/physics-playground/assets/scenes/showcase.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Showcase","entities": [{@@ -137,7 +137,7 @@{ "type": "Sprite", "data": { "size": { "x": 100, "y": 16 }, "color": { "r": 0.65, "g": 0.5, "b": 0.95, "a": 1 } } },{ "type": "RigidBody2D", "data": { "bodyType": 2, "fixedRotation": true } },{ "type": "BoxCollider2D", "data": { "halfExtents": { "x": 0.5, "y": 0.08 } } },- { "type": "PrismaticJoint2D", "data": {+ { "type": "SliderJoint2D", "data": {"connectedEntity": 8,"anchorA": { "x": 0, "y": 0 },"anchorB": { "x": 0, "y": 0 },diff --git a/examples/physics-spinner/assets/scenes/main.esscene b/examples/physics-spinner/assets/scenes/main.essceneindex 3563ad1c9..8b7abf82a 100644--- a/examples/physics-spinner/assets/scenes/main.esscene+++ b/examples/physics-spinner/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{@@ -34,7 +34,7 @@{ "type": "Sprite", "data": { "size": { "x": 120, "y": 4040 }, "color": { "r": 0.9, "g": 0.3, "b": 0.2, "a": 1 } } },{ "type": "RigidBody2D", "data": { "bodyType": 2 } },{ "type": "BoxCollider2D", "data": { "halfExtents": { "x": 0.4, "y": 20.0 }, "radius": 0.2, "friction": 0.0 } },- { "type": "RevoluteJoint2D", "data": {+ { "type": "HingeJoint2D", "data": {"connectedEntity": 1,"anchorA": { "x": 0, "y": 0 },"anchorB": { "x": 0, "y": 0 },diff --git a/examples/platformer/assets/scenes/main.esscene b/examples/platformer/assets/scenes/main.essceneindex 279ea89af..44c9535bc 100644--- a/examples/platformer/assets/scenes/main.esscene+++ b/examples/platformer/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","folders": ["Environment",diff --git a/examples/postprocess-effects/assets/scenes/main.esscene b/examples/postprocess-effects/assets/scenes/main.essceneindex 42038bea9..9ccbb8c86 100644--- a/examples/postprocess-effects/assets/scenes/main.esscene+++ b/examples/postprocess-effects/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/render-texture/assets/scenes/main.esscene b/examples/render-texture/assets/scenes/main.essceneindex 2a8abc242..a1a149ef8 100644--- a/examples/render-texture/assets/scenes/main.esscene+++ b/examples/render-texture/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/rich-text/assets/scenes/main.esscene b/examples/rich-text/assets/scenes/main.essceneindex c28f3ddd4..54c7528cf 100644--- a/examples/rich-text/assets/scenes/main.esscene+++ b/examples/rich-text/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/save-load/assets/scenes/main.esscene b/examples/save-load/assets/scenes/main.essceneindex 3ac0a6398..ec2bce86c 100644--- a/examples/save-load/assets/scenes/main.esscene+++ b/examples/save-load/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/scene-flow/assets/scenes/main.esscene b/examples/scene-flow/assets/scenes/main.essceneindex fe86b2823..744ec97a6 100644--- a/examples/scene-flow/assets/scenes/main.esscene+++ b/examples/scene-flow/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/space-shooter/assets/scenes/main.esscene b/examples/space-shooter/assets/scenes/main.essceneindex 103b160fb..68a0d0f7e 100644--- a/examples/space-shooter/assets/scenes/main.esscene+++ b/examples/space-shooter/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/spine-demo/assets/scenes/aran.esscene b/examples/spine-demo/assets/scenes/aran.essceneindex 713c3840b..64d4093cc 100644--- a/examples/spine-demo/assets/scenes/aran.esscene+++ b/examples/spine-demo/assets/scenes/aran.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "AranShowcase","entities": [{diff --git a/examples/spine-demo/assets/scenes/main.esscene b/examples/spine-demo/assets/scenes/main.essceneindex d508c4769..a959b834f 100644--- a/examples/spine-demo/assets/scenes/main.esscene+++ b/examples/spine-demo/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "SpineDemo","entities": [{diff --git a/examples/sprite-animation/assets/scenes/coins.esscene b/examples/sprite-animation/assets/scenes/coins.essceneindex 76d38f635..21d83b62d 100644--- a/examples/sprite-animation/assets/scenes/coins.esscene+++ b/examples/sprite-animation/assets/scenes/coins.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Coins","entities": [{diff --git a/examples/sprite-animation/assets/scenes/main.esscene b/examples/sprite-animation/assets/scenes/main.essceneindex 99d29cdf1..67d50cf74 100644--- a/examples/sprite-animation/assets/scenes/main.esscene+++ b/examples/sprite-animation/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/sprite-rendering/assets/scenes/main.esscene b/examples/sprite-rendering/assets/scenes/main.essceneindex e84f9aba5..400e400f4 100644--- a/examples/sprite-rendering/assets/scenes/main.esscene+++ b/examples/sprite-rendering/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/tilemap-demo/assets/scenes/hex-map.esscene b/examples/tilemap-demo/assets/scenes/hex-map.essceneindex 9f6d445ba..8b041cec2 100644--- a/examples/tilemap-demo/assets/scenes/hex-map.esscene+++ b/examples/tilemap-demo/assets/scenes/hex-map.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Tilemap Demo","entities": [{diff --git a/examples/tilemap-demo/assets/scenes/iso-map.esscene b/examples/tilemap-demo/assets/scenes/iso-map.essceneindex 6ff6c1ff1..a10aed606 100644--- a/examples/tilemap-demo/assets/scenes/iso-map.esscene+++ b/examples/tilemap-demo/assets/scenes/iso-map.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Tilemap Demo","entities": [{diff --git a/examples/tilemap-demo/assets/scenes/native-map.esscene b/examples/tilemap-demo/assets/scenes/native-map.essceneindex cd81a6b19..7ab63f049 100644--- a/examples/tilemap-demo/assets/scenes/native-map.esscene+++ b/examples/tilemap-demo/assets/scenes/native-map.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "NativeMap","entities": [{diff --git a/examples/tilemap-demo/assets/scenes/staggered-map.esscene b/examples/tilemap-demo/assets/scenes/staggered-map.essceneindex ba192bf9f..4f56b06f1 100644--- a/examples/tilemap-demo/assets/scenes/staggered-map.esscene+++ b/examples/tilemap-demo/assets/scenes/staggered-map.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Tilemap Demo","entities": [{diff --git a/examples/tilemap-demo/assets/scenes/tiled-map.esscene b/examples/tilemap-demo/assets/scenes/tiled-map.essceneindex 18c258fc2..d5a3d3a7a 100644--- a/examples/tilemap-demo/assets/scenes/tiled-map.esscene+++ b/examples/tilemap-demo/assets/scenes/tiled-map.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "TiledMap","entities": [{diff --git a/examples/tilemap-demo/assets/scenes/wang-map.esscene b/examples/tilemap-demo/assets/scenes/wang-map.essceneindex 6e75377ce..d5bd2c383 100644--- a/examples/tilemap-demo/assets/scenes/wang-map.esscene+++ b/examples/tilemap-demo/assets/scenes/wang-map.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Tilemap Demo","entities": [{diff --git a/examples/timers-demo/assets/scenes/main.esscene b/examples/timers-demo/assets/scenes/main.essceneindex 8509e520b..e52ea9e07 100644--- a/examples/timers-demo/assets/scenes/main.esscene+++ b/examples/timers-demo/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/trail-demo/assets/scenes/main.esscene b/examples/trail-demo/assets/scenes/main.essceneindex b75ef7bf7..fabebd6fb 100644--- a/examples/trail-demo/assets/scenes/main.esscene+++ b/examples/trail-demo/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/tween-animation/assets/scenes/main.esscene b/examples/tween-animation/assets/scenes/main.essceneindex 1bf32dd41..27f5cc823 100644--- a/examples/tween-animation/assets/scenes/main.esscene+++ b/examples/tween-animation/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/ui-controller/assets/scenes/authoring.esscene b/examples/ui-controller/assets/scenes/authoring.essceneindex 9409868e5..032796157 100644--- a/examples/ui-controller/assets/scenes/authoring.esscene+++ b/examples/ui-controller/assets/scenes/authoring.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "UI Controllers & Gears","entities": [{diff --git a/examples/ui-controller/assets/scenes/main.esscene b/examples/ui-controller/assets/scenes/main.essceneindex 8eedf85d4..60089835a 100644--- a/examples/ui-controller/assets/scenes/main.esscene+++ b/examples/ui-controller/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/ui-controls/assets/scenes/main.esscene b/examples/ui-controls/assets/scenes/main.essceneindex 6d2946e46..129fa6612 100644--- a/examples/ui-controls/assets/scenes/main.esscene+++ b/examples/ui-controls/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/ui-events/assets/scenes/main.esscene b/examples/ui-events/assets/scenes/main.essceneindex 6d83c2877..38373b7e4 100644--- a/examples/ui-events/assets/scenes/main.esscene+++ b/examples/ui-events/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "UI Events (no code)","entities": [{diff --git a/examples/ui-interaction/assets/scenes/main.esscene b/examples/ui-interaction/assets/scenes/main.essceneindex 30594a296..4e011edde 100644--- a/examples/ui-interaction/assets/scenes/main.esscene+++ b/examples/ui-interaction/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/ui-layout/assets/scenes/main.esscene b/examples/ui-layout/assets/scenes/main.essceneindex 6e73bad46..7d58400c0 100644--- a/examples/ui-layout/assets/scenes/main.esscene+++ b/examples/ui-layout/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/ui-list/assets/scenes/main.esscene b/examples/ui-list/assets/scenes/main.essceneindex 460aacae4..bc8564b5a 100644--- a/examples/ui-list/assets/scenes/main.esscene+++ b/examples/ui-list/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/video-playback/assets/scenes/main.esscene b/examples/video-playback/assets/scenes/main.essceneindex 7a987b4ed..f017a662d 100644--- a/examples/video-playback/assets/scenes/main.esscene+++ b/examples/video-playback/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/examples/video-puzzle/assets/scenes/main.esscene b/examples/video-puzzle/assets/scenes/main.essceneindex 7cf8beb5a..1167cfafb 100644--- a/examples/video-puzzle/assets/scenes/main.esscene+++ b/examples/video-puzzle/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/fixtures/scenes/bitmaptext.esscene b/fixtures/scenes/bitmaptext.essceneindex c422bad0b..3c3e267f3 100644--- a/fixtures/scenes/bitmaptext.esscene+++ b/fixtures/scenes/bitmaptext.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "BitmapTextGate","entities": [{diff --git a/fixtures/scenes/bloom-ldr.esscene b/fixtures/scenes/bloom-ldr.essceneindex fc863bb4d..6af0e718d 100644--- a/fixtures/scenes/bloom-ldr.esscene+++ b/fixtures/scenes/bloom-ldr.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "HDR Bloom","entities": [{diff --git a/fixtures/scenes/camera-culling.esscene b/fixtures/scenes/camera-culling.essceneindex 74ed95a1d..6cf593f42 100644--- a/fixtures/scenes/camera-culling.esscene+++ b/fixtures/scenes/camera-culling.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Camera.cullingMask drops whole layers: the HUD (its Canvas is on layer 1) and the blue sprite (layer 2) are cleared from the mask, leaving only the green world on layer 0.","entities": [{diff --git a/fixtures/scenes/camera-parent.esscene b/fixtures/scenes/camera-parent.essceneindex 465676979..13a401e49 100644--- a/fixtures/scenes/camera-parent.esscene+++ b/fixtures/scenes/camera-parent.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "CameraParent","entities": [{diff --git a/fixtures/scenes/camera-target.esscene b/fixtures/scenes/camera-target.essceneindex 26e528a25..5449fc7b5 100644--- a/fixtures/scenes/camera-target.esscene+++ b/fixtures/scenes/camera-target.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "CameraTarget","entities": [{diff --git a/fixtures/scenes/camera-tilt.esscene b/fixtures/scenes/camera-tilt.essceneindex 731f2844b..8fd6f48be 100644--- a/fixtures/scenes/camera-tilt.esscene+++ b/fixtures/scenes/camera-tilt.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "CameraTilt","entities": [{diff --git a/fixtures/scenes/depth-layers.esscene b/fixtures/scenes/depth-layers.essceneindex 187d4c24d..cdb18d263 100644--- a/fixtures/scenes/depth-layers.esscene+++ b/fixtures/scenes/depth-layers.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "DepthLayers","entities": [{diff --git a/fixtures/scenes/dragonbones-test.esscene b/fixtures/scenes/dragonbones-test.essceneindex 0413be515..331a433b2 100644--- a/fixtures/scenes/dragonbones-test.esscene+++ b/fixtures/scenes/dragonbones-test.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "DragonBonesTest","entities": [{diff --git a/fixtures/scenes/hdr-bloom.esscene b/fixtures/scenes/hdr-bloom.essceneindex 0148c9e30..bd8f0cfee 100644--- a/fixtures/scenes/hdr-bloom.esscene+++ b/fixtures/scenes/hdr-bloom.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "HDR Bloom","entities": [{diff --git a/fixtures/scenes/ktx2-orientation.esscene b/fixtures/scenes/ktx2-orientation.essceneindex c25a79ba4..71aa08c8c 100644--- a/fixtures/scenes/ktx2-orientation.esscene+++ b/fixtures/scenes/ktx2-orientation.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "KTX2 Orientation","entities": [{diff --git a/fixtures/scenes/ktx2-sprite.esscene b/fixtures/scenes/ktx2-sprite.essceneindex 30debaf01..e873c1d8e 100644--- a/fixtures/scenes/ktx2-sprite.esscene+++ b/fixtures/scenes/ktx2-sprite.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "KTX2 Sprite","entities": [{diff --git a/fixtures/scenes/lut-grade.esscene b/fixtures/scenes/lut-grade.essceneindex 85ba2e721..2d3e71224 100644--- a/fixtures/scenes/lut-grade.esscene+++ b/fixtures/scenes/lut-grade.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "LutGrade","entities": [{diff --git a/fixtures/scenes/mat-builtin-lit.esscene b/fixtures/scenes/mat-builtin-lit.essceneindex f19f0a332..3742ed34b 100644--- a/fixtures/scenes/mat-builtin-lit.esscene+++ b/fixtures/scenes/mat-builtin-lit.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/fixtures/scenes/mat-dissolve.esscene b/fixtures/scenes/mat-dissolve.essceneindex c2b568941..bd2d51d32 100644--- a/fixtures/scenes/mat-dissolve.esscene+++ b/fixtures/scenes/mat-dissolve.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/fixtures/scenes/mat-env-mirror.esscene b/fixtures/scenes/mat-env-mirror.essceneindex 81c1f07ed..b11229334 100644--- a/fixtures/scenes/mat-env-mirror.esscene+++ b/fixtures/scenes/mat-env-mirror.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/fixtures/scenes/mat-env.esscene b/fixtures/scenes/mat-env.essceneindex 929e9974e..0cd5d629f 100644--- a/fixtures/scenes/mat-env.esscene+++ b/fixtures/scenes/mat-env.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/fixtures/scenes/mat-graph.esscene b/fixtures/scenes/mat-graph.essceneindex 54c828925..0b42bbf90 100644--- a/fixtures/scenes/mat-graph.esscene+++ b/fixtures/scenes/mat-graph.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/fixtures/scenes/mat-instance.esscene b/fixtures/scenes/mat-instance.essceneindex 4d00adb26..90311d64a 100644--- a/fixtures/scenes/mat-instance.esscene+++ b/fixtures/scenes/mat-instance.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/fixtures/scenes/mat-lit-flatnormal.esscene b/fixtures/scenes/mat-lit-flatnormal.essceneindex 220f52cbe..da6ff29e2 100644--- a/fixtures/scenes/mat-lit-flatnormal.esscene+++ b/fixtures/scenes/mat-lit-flatnormal.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/fixtures/scenes/mat-lit-normal.esscene b/fixtures/scenes/mat-lit-normal.essceneindex ec7acccc0..99bcf0844 100644--- a/fixtures/scenes/mat-lit-normal.esscene+++ b/fixtures/scenes/mat-lit-normal.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/fixtures/scenes/mat-lit-point.esscene b/fixtures/scenes/mat-lit-point.essceneindex 1041b8f7f..aed8c4966 100644--- a/fixtures/scenes/mat-lit-point.esscene+++ b/fixtures/scenes/mat-lit-point.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/fixtures/scenes/mat-lit-shadow-dir.esscene b/fixtures/scenes/mat-lit-shadow-dir.essceneindex 069d3b620..0a6f65bc2 100644--- a/fixtures/scenes/mat-lit-shadow-dir.esscene+++ b/fixtures/scenes/mat-lit-shadow-dir.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/fixtures/scenes/mat-lit-shadow-hard.esscene b/fixtures/scenes/mat-lit-shadow-hard.essceneindex 9aece6e27..de5d699b3 100644--- a/fixtures/scenes/mat-lit-shadow-hard.esscene+++ b/fixtures/scenes/mat-lit-shadow-hard.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/fixtures/scenes/mat-lit-shadow-soft.esscene b/fixtures/scenes/mat-lit-shadow-soft.essceneindex 0427b5152..c97b329e5 100644--- a/fixtures/scenes/mat-lit-shadow-soft.esscene+++ b/fixtures/scenes/mat-lit-shadow-soft.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/fixtures/scenes/mat-lit-shadow.esscene b/fixtures/scenes/mat-lit-shadow.essceneindex 48fac7318..c541a609b 100644--- a/fixtures/scenes/mat-lit-shadow.esscene+++ b/fixtures/scenes/mat-lit-shadow.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/fixtures/scenes/mat-lit-spot.esscene b/fixtures/scenes/mat-lit-spot.essceneindex 4f0bcd4e3..96e49c85f 100644--- a/fixtures/scenes/mat-lit-spot.esscene+++ b/fixtures/scenes/mat-lit-spot.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/fixtures/scenes/mat-lit.esscene b/fixtures/scenes/mat-lit.essceneindex e45e12dad..999838ecd 100644--- a/fixtures/scenes/mat-lit.esscene+++ b/fixtures/scenes/mat-lit.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/fixtures/scenes/mat-model-env.esscene b/fixtures/scenes/mat-model-env.essceneindex d0d5fdbc5..948ba9415 100644--- a/fixtures/scenes/mat-model-env.esscene+++ b/fixtures/scenes/mat-model-env.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/fixtures/scenes/mat-model.esscene b/fixtures/scenes/mat-model.essceneindex 5472e5a6a..c1d0bad92 100644--- a/fixtures/scenes/mat-model.esscene+++ b/fixtures/scenes/mat-model.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/fixtures/scenes/mat-pbr.esscene b/fixtures/scenes/mat-pbr.essceneindex 69336847a..bbfd40c9c 100644--- a/fixtures/scenes/mat-pbr.esscene+++ b/fixtures/scenes/mat-pbr.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/fixtures/scenes/mat-sw.esscene b/fixtures/scenes/mat-sw.essceneindex b31b06b92..3a3a20a2e 100644--- a/fixtures/scenes/mat-sw.esscene+++ b/fixtures/scenes/mat-sw.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/fixtures/scenes/mat-tex.esscene b/fixtures/scenes/mat-tex.essceneindex f5213133d..a070fb253 100644--- a/fixtures/scenes/mat-tex.esscene+++ b/fixtures/scenes/mat-tex.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/fixtures/scenes/mat-tint.esscene b/fixtures/scenes/mat-tint.essceneindex 4fe2dbfdc..1a1a16516 100644--- a/fixtures/scenes/mat-tint.esscene+++ b/fixtures/scenes/mat-tint.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/fixtures/scenes/mesh-builtin.esscene b/fixtures/scenes/mesh-builtin.essceneindex beb844ebc..f96a9118b 100644--- a/fixtures/scenes/mesh-builtin.esscene+++ b/fixtures/scenes/mesh-builtin.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "MeshBuiltin","entities": [{diff --git a/fixtures/scenes/mesh-cost.esscene b/fixtures/scenes/mesh-cost.essceneindex 490b057e3..0089bee9d 100644--- a/fixtures/scenes/mesh-cost.esscene+++ b/fixtures/scenes/mesh-cost.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "MeshCost","entities": [{diff --git a/fixtures/scenes/mesh-depth-through-capture.esscene b/fixtures/scenes/mesh-depth-through-capture.essceneindex 6dda8d7c7..0510c85ff 100644--- a/fixtures/scenes/mesh-depth-through-capture.esscene+++ b/fixtures/scenes/mesh-depth-through-capture.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "MeshDepthThroughCapture","entities": [{diff --git a/fixtures/scenes/mesh-depth.esscene b/fixtures/scenes/mesh-depth.essceneindex 5622bf719..65afce8be 100644--- a/fixtures/scenes/mesh-depth.esscene+++ b/fixtures/scenes/mesh-depth.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "MeshDepth","entities": [{diff --git a/fixtures/scenes/mesh-flat-lit.esscene b/fixtures/scenes/mesh-flat-lit.essceneindex 80c28cb18..ddd1a6305 100644--- a/fixtures/scenes/mesh-flat-lit.esscene+++ b/fixtures/scenes/mesh-flat-lit.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "MeshFlatLit","entities": [{diff --git a/fixtures/scenes/mesh-flat-point-3d.esscene b/fixtures/scenes/mesh-flat-point-3d.essceneindex f0c793e2f..32690c0b1 100644--- a/fixtures/scenes/mesh-flat-point-3d.esscene+++ b/fixtures/scenes/mesh-flat-point-3d.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "MeshFlatPoint3D","entities": [{diff --git a/fixtures/scenes/mesh-instanced.esscene b/fixtures/scenes/mesh-instanced.essceneindex cb29aadc3..85428766f 100644--- a/fixtures/scenes/mesh-instanced.esscene+++ b/fixtures/scenes/mesh-instanced.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "MeshInstanced","entities": [{diff --git a/fixtures/scenes/mesh-lit.esscene b/fixtures/scenes/mesh-lit.essceneindex 93414ef65..55c0a3671 100644--- a/fixtures/scenes/mesh-lit.esscene+++ b/fixtures/scenes/mesh-lit.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "MeshLit","entities": [{diff --git a/fixtures/scenes/mesh-material.esscene b/fixtures/scenes/mesh-material.essceneindex f0ef4278a..e889696cb 100644--- a/fixtures/scenes/mesh-material.esscene+++ b/fixtures/scenes/mesh-material.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "MeshMaterial","entities": [{diff --git a/fixtures/scenes/mesh-nodes.esscene b/fixtures/scenes/mesh-nodes.essceneindex 5a0c3c426..0410d2ed8 100644--- a/fixtures/scenes/mesh-nodes.esscene+++ b/fixtures/scenes/mesh-nodes.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "MeshNodes","entities": [{diff --git a/fixtures/scenes/mesh-normalmap.esscene b/fixtures/scenes/mesh-normalmap.essceneindex c4e436c2f..7b3f29432 100644--- a/fixtures/scenes/mesh-normalmap.esscene+++ b/fixtures/scenes/mesh-normalmap.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "MeshNormalMap","entities": [{diff --git a/fixtures/scenes/mesh-point-3d.esscene b/fixtures/scenes/mesh-point-3d.essceneindex 5f5b74ff2..54a1a8205 100644--- a/fixtures/scenes/mesh-point-3d.esscene+++ b/fixtures/scenes/mesh-point-3d.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "MeshPoint3D","entities": [{diff --git a/fixtures/scenes/mesh-renderer.esscene b/fixtures/scenes/mesh-renderer.essceneindex e8a7ae86b..7161383d9 100644--- a/fixtures/scenes/mesh-renderer.esscene+++ b/fixtures/scenes/mesh-renderer.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "MeshRenderer","entities": [{diff --git a/fixtures/scenes/mesh-shadow-aimed.esscene b/fixtures/scenes/mesh-shadow-aimed.essceneindex ea149df0c..d3a9f527a 100644--- a/fixtures/scenes/mesh-shadow-aimed.esscene+++ b/fixtures/scenes/mesh-shadow-aimed.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "MeshShadowAimed","entities": [{diff --git a/fixtures/scenes/mesh-shadow-cascade.esscene b/fixtures/scenes/mesh-shadow-cascade.essceneindex d510909e1..5b362f50d 100644--- a/fixtures/scenes/mesh-shadow-cascade.esscene+++ b/fixtures/scenes/mesh-shadow-cascade.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "MeshShadowCascade","entities": [{diff --git a/fixtures/scenes/mesh-shadow-caster-behind.esscene b/fixtures/scenes/mesh-shadow-caster-behind.essceneindex f57c59b09..16bf4b48c 100644--- a/fixtures/scenes/mesh-shadow-caster-behind.esscene+++ b/fixtures/scenes/mesh-shadow-caster-behind.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "MeshShadowCasterBehind","entities": [{diff --git a/fixtures/scenes/mesh-shadow-material.esscene b/fixtures/scenes/mesh-shadow-material.essceneindex 9cfe7501c..416ed2412 100644--- a/fixtures/scenes/mesh-shadow-material.esscene+++ b/fixtures/scenes/mesh-shadow-material.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "MeshShadowMaterial","entities": [{diff --git a/fixtures/scenes/mesh-shadow-perspective.esscene b/fixtures/scenes/mesh-shadow-perspective.essceneindex 43be568e2..6cb98e85d 100644--- a/fixtures/scenes/mesh-shadow-perspective.esscene+++ b/fixtures/scenes/mesh-shadow-perspective.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "MeshShadowPerspective","entities": [{diff --git a/fixtures/scenes/mesh-shadow.esscene b/fixtures/scenes/mesh-shadow.essceneindex 65e84fd97..8dbea75e3 100644--- a/fixtures/scenes/mesh-shadow.esscene+++ b/fixtures/scenes/mesh-shadow.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "MeshShadow","entities": [{diff --git a/fixtures/scenes/mesh-skin-mat.esscene b/fixtures/scenes/mesh-skin-mat.essceneindex 7374c70ed..2f9fbf2a3 100644--- a/fixtures/scenes/mesh-skin-mat.esscene+++ b/fixtures/scenes/mesh-skin-mat.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "MeshSkinMaterial","entities": [{diff --git a/fixtures/scenes/mesh-skin.esscene b/fixtures/scenes/mesh-skin.essceneindex fe3d3fd69..61639722f 100644--- a/fixtures/scenes/mesh-skin.esscene+++ b/fixtures/scenes/mesh-skin.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "MeshSkin","entities": [{diff --git a/fixtures/scenes/mesh-sky.esscene b/fixtures/scenes/mesh-sky.essceneindex 4f468162f..c1bdf2398 100644--- a/fixtures/scenes/mesh-sky.esscene+++ b/fixtures/scenes/mesh-sky.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "MeshSky","entities": [{diff --git a/fixtures/scenes/mesh-textured.esscene b/fixtures/scenes/mesh-textured.essceneindex b7de45caf..8e32cb3d2 100644--- a/fixtures/scenes/mesh-textured.esscene+++ b/fixtures/scenes/mesh-textured.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "MeshTextured","entities": [{diff --git a/fixtures/scenes/model-animation.esscene b/fixtures/scenes/model-animation.essceneindex 57c33fa28..f4e038468 100644--- a/fixtures/scenes/model-animation.esscene+++ b/fixtures/scenes/model-animation.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "ModelAnimation","entities": [{diff --git a/fixtures/scenes/model-material.esscene b/fixtures/scenes/model-material.essceneindex 2d5c7ec94..eb7a44ae0 100644--- a/fixtures/scenes/model-material.esscene+++ b/fixtures/scenes/model-material.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "ModelMaterial","entities": [{diff --git a/fixtures/scenes/ortho-clip-behind-camera.esscene b/fixtures/scenes/ortho-clip-behind-camera.essceneindex 18ce63e86..ccaf171c2 100644--- a/fixtures/scenes/ortho-clip-behind-camera.esscene+++ b/fixtures/scenes/ortho-clip-behind-camera.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "OrthoClipBehindCamera","entities": [{diff --git a/fixtures/scenes/parallax-control.esscene b/fixtures/scenes/parallax-control.essceneindex c594a2435..de64a103c 100644--- a/fixtures/scenes/parallax-control.esscene+++ b/fixtures/scenes/parallax-control.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/fixtures/scenes/parallax-shape.esscene b/fixtures/scenes/parallax-shape.essceneindex 214204963..b1d334de1 100644--- a/fixtures/scenes/parallax-shape.esscene+++ b/fixtures/scenes/parallax-shape.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "ParallaxShape","entities": [{diff --git a/fixtures/scenes/parallax.esscene b/fixtures/scenes/parallax.essceneindex fa20eb4f1..7041b9d62 100644--- a/fixtures/scenes/parallax.esscene+++ b/fixtures/scenes/parallax.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/fixtures/scenes/particle-billboard.esscene b/fixtures/scenes/particle-billboard.essceneindex 48a0010f0..827f5accc 100644--- a/fixtures/scenes/particle-billboard.esscene+++ b/fixtures/scenes/particle-billboard.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "ParticleBillboard","entities": [{diff --git a/fixtures/scenes/particle-collision.esscene b/fixtures/scenes/particle-collision.essceneindex 3c0d76117..053619389 100644--- a/fixtures/scenes/particle-collision.esscene+++ b/fixtures/scenes/particle-collision.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "ParticleCollision","entities": [{diff --git a/fixtures/scenes/particle-demo.esscene b/fixtures/scenes/particle-demo.essceneindex 8c67d7ae7..686f8adc7 100644--- a/fixtures/scenes/particle-demo.esscene+++ b/fixtures/scenes/particle-demo.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/fixtures/scenes/particle-forcefield.esscene b/fixtures/scenes/particle-forcefield.essceneindex faed544a6..fa4e55518 100644--- a/fixtures/scenes/particle-forcefield.esscene+++ b/fixtures/scenes/particle-forcefield.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "ParticleForceField","entities": [{diff --git a/fixtures/scenes/particle-gradient.esscene b/fixtures/scenes/particle-gradient.essceneindex 2644f3787..65175c6bb 100644--- a/fixtures/scenes/particle-gradient.esscene+++ b/fixtures/scenes/particle-gradient.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "ParticleGradient","entities": [{diff --git a/fixtures/scenes/particle-material.esscene b/fixtures/scenes/particle-material.essceneindex 8c5051eba..d7d83c74e 100644--- a/fixtures/scenes/particle-material.esscene+++ b/fixtures/scenes/particle-material.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "ParticleMaterial","entities": [{diff --git a/fixtures/scenes/particle-sizecurve.esscene b/fixtures/scenes/particle-sizecurve.essceneindex a253c726a..507fe9386 100644--- a/fixtures/scenes/particle-sizecurve.esscene+++ b/fixtures/scenes/particle-sizecurve.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "ParticleSizeCurve","entities": [{diff --git a/fixtures/scenes/particle-trail.esscene b/fixtures/scenes/particle-trail.essceneindex 87b03ed70..dd61e6348 100644--- a/fixtures/scenes/particle-trail.esscene+++ b/fixtures/scenes/particle-trail.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "ParticleTrail","entities": [{diff --git a/fixtures/scenes/pixel-perfect.esscene b/fixtures/scenes/pixel-perfect.essceneindex 2097fe279..3e064a146 100644--- a/fixtures/scenes/pixel-perfect.esscene+++ b/fixtures/scenes/pixel-perfect.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/fixtures/scenes/point-shadow-offset.esscene b/fixtures/scenes/point-shadow-offset.essceneindex f8f10182d..38f8799a9 100644--- a/fixtures/scenes/point-shadow-offset.esscene+++ b/fixtures/scenes/point-shadow-offset.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "PointShadowOffset","entities": [{diff --git a/fixtures/scenes/point-shadow-pair.esscene b/fixtures/scenes/point-shadow-pair.essceneindex 15918344b..56fb9aeee 100644--- a/fixtures/scenes/point-shadow-pair.esscene+++ b/fixtures/scenes/point-shadow-pair.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "PointShadowPair","entities": [{diff --git a/fixtures/scenes/point-shadow.esscene b/fixtures/scenes/point-shadow.essceneindex 78cdda6f6..cce71b02a 100644--- a/fixtures/scenes/point-shadow.esscene+++ b/fixtures/scenes/point-shadow.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "PointShadow","entities": [{diff --git a/fixtures/scenes/postprocess-effects.esscene b/fixtures/scenes/postprocess-effects.essceneindex dcc9537bb..9a879944e 100644--- a/fixtures/scenes/postprocess-effects.esscene+++ b/fixtures/scenes/postprocess-effects.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/fixtures/scenes/scale-meshes.esscene b/fixtures/scenes/scale-meshes.essceneindex 06c7cf1c9..93be70eba 100644--- a/fixtures/scenes/scale-meshes.esscene+++ b/fixtures/scenes/scale-meshes.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "ScaleMeshes","entities": [{diff --git a/fixtures/scenes/scale-shadow.esscene b/fixtures/scenes/scale-shadow.essceneindex 54381e8cd..772276812 100644--- a/fixtures/scenes/scale-shadow.esscene+++ b/fixtures/scenes/scale-shadow.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "ScaleShadow","entities": [{diff --git a/fixtures/scenes/scale-sprites.esscene b/fixtures/scenes/scale-sprites.essceneindex 355bf2f90..c1d418a63 100644--- a/fixtures/scenes/scale-sprites.esscene+++ b/fixtures/scenes/scale-sprites.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "ScaleSprites","entities": [{diff --git a/fixtures/scenes/shadow-map-meshes-only.esscene b/fixtures/scenes/shadow-map-meshes-only.essceneindex 1cfb65a0b..a7b9fac5d 100644--- a/fixtures/scenes/shadow-map-meshes-only.esscene+++ b/fixtures/scenes/shadow-map-meshes-only.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "ShadowMapMeshesOnly","entities": [{diff --git a/fixtures/scenes/soft-shadow-contact.esscene b/fixtures/scenes/soft-shadow-contact.essceneindex 9ea67705c..bd48efddd 100644--- a/fixtures/scenes/soft-shadow-contact.esscene+++ b/fixtures/scenes/soft-shadow-contact.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "SoftShadowContact","entities": [{diff --git a/fixtures/scenes/soft-shadow.esscene b/fixtures/scenes/soft-shadow.essceneindex ca6d0baa8..337043e4b 100644--- a/fixtures/scenes/soft-shadow.esscene+++ b/fixtures/scenes/soft-shadow.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "SoftShadow","entities": [{diff --git a/fixtures/scenes/sort-view-depth.esscene b/fixtures/scenes/sort-view-depth.essceneindex 9bebf66ce..591099ef4 100644--- a/fixtures/scenes/sort-view-depth.esscene+++ b/fixtures/scenes/sort-view-depth.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "SortViewDepth","entities": [{diff --git a/fixtures/scenes/spine-test.esscene b/fixtures/scenes/spine-test.essceneindex 5309ca3b9..970eb6c7f 100644--- a/fixtures/scenes/spine-test.esscene+++ b/fixtures/scenes/spine-test.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "SpineTest","entities": [{diff --git a/fixtures/scenes/spot-shadow.esscene b/fixtures/scenes/spot-shadow.essceneindex beee8bff4..4caf07f7f 100644--- a/fixtures/scenes/spot-shadow.esscene+++ b/fixtures/scenes/spot-shadow.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "SpotShadow","entities": [{diff --git a/fixtures/scenes/sprite-lit.esscene b/fixtures/scenes/sprite-lit.essceneindex fd4d07381..99c7563ce 100644--- a/fixtures/scenes/sprite-lit.esscene+++ b/fixtures/scenes/sprite-lit.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/fixtures/scenes/sprite-rendering.esscene b/fixtures/scenes/sprite-rendering.essceneindex 0f5528ae8..95b735c36 100644--- a/fixtures/scenes/sprite-rendering.esscene+++ b/fixtures/scenes/sprite-rendering.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/fixtures/scenes/srgb-midtone.esscene b/fixtures/scenes/srgb-midtone.essceneindex a4fe40d7e..999e0e5ed 100644--- a/fixtures/scenes/srgb-midtone.esscene+++ b/fixtures/scenes/srgb-midtone.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "sRGB Midtone Roundtrip","entities": [{diff --git a/fixtures/scenes/sun-shadow-contact.esscene b/fixtures/scenes/sun-shadow-contact.essceneindex 23df0c389..63b03c000 100644--- a/fixtures/scenes/sun-shadow-contact.esscene+++ b/fixtures/scenes/sun-shadow-contact.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "SunShadowContact","entities": [{diff --git a/fixtures/scenes/sun-shadow.esscene b/fixtures/scenes/sun-shadow.essceneindex a66866c25..99a9cf35f 100644--- a/fixtures/scenes/sun-shadow.esscene+++ b/fixtures/scenes/sun-shadow.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "SunShadow","entities": [{diff --git a/fixtures/scenes/tilemap-flip.esscene b/fixtures/scenes/tilemap-flip.essceneindex e7571a30b..eb274e2ca 100644--- a/fixtures/scenes/tilemap-flip.esscene+++ b/fixtures/scenes/tilemap-flip.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "TilemapFlip","entities": [{diff --git a/fixtures/scenes/tilemap-gidobj.esscene b/fixtures/scenes/tilemap-gidobj.essceneindex 3b5675daa..2c99d2cb2 100644--- a/fixtures/scenes/tilemap-gidobj.esscene+++ b/fixtures/scenes/tilemap-gidobj.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "TilemapGidObject","entities": [{diff --git a/fixtures/scenes/tilemap-hex.esscene b/fixtures/scenes/tilemap-hex.essceneindex f76755767..10de06be1 100644--- a/fixtures/scenes/tilemap-hex.esscene+++ b/fixtures/scenes/tilemap-hex.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "TilemapHex","entities": [{diff --git a/fixtures/scenes/tilemap-multiset.esscene b/fixtures/scenes/tilemap-multiset.essceneindex b800b6e10..80cede7bd 100644--- a/fixtures/scenes/tilemap-multiset.esscene+++ b/fixtures/scenes/tilemap-multiset.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "TilemapMultiset","entities": [{diff --git a/fixtures/scenes/tilemap-oob.esscene b/fixtures/scenes/tilemap-oob.essceneindex f7a7be016..0bf306f46 100644--- a/fixtures/scenes/tilemap-oob.esscene+++ b/fixtures/scenes/tilemap-oob.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "TilemapOutOfRange","entities": [{diff --git a/fixtures/scenes/tilemap-parallax.esscene b/fixtures/scenes/tilemap-parallax.essceneindex 538742aa4..bccb46d90 100644--- a/fixtures/scenes/tilemap-parallax.esscene+++ b/fixtures/scenes/tilemap-parallax.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "TilemapParallax","entities": [{diff --git a/fixtures/scenes/tilemap-spacing.esscene b/fixtures/scenes/tilemap-spacing.essceneindex 579b4f20d..37ba85495 100644--- a/fixtures/scenes/tilemap-spacing.esscene+++ b/fixtures/scenes/tilemap-spacing.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "TilemapSpacing","entities": [{diff --git a/fixtures/scenes/tilemap-transform.esscene b/fixtures/scenes/tilemap-transform.essceneindex 375646735..633e3d1a3 100644--- a/fixtures/scenes/tilemap-transform.esscene+++ b/fixtures/scenes/tilemap-transform.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "TilemapTransform","entities": [{diff --git a/fixtures/scenes/trail-depth.esscene b/fixtures/scenes/trail-depth.essceneindex 56dbc8402..9933157c2 100644--- a/fixtures/scenes/trail-depth.esscene+++ b/fixtures/scenes/trail-depth.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Trail through depth","entities": [{diff --git a/fixtures/scenes/trail.esscene b/fixtures/scenes/trail.essceneindex 23c63940d..3fb5c9357 100644--- a/fixtures/scenes/trail.esscene+++ b/fixtures/scenes/trail.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Trail","entities": [{diff --git a/fixtures/scenes/ui-layout.esscene b/fixtures/scenes/ui-layout.essceneindex 4a496da51..6284c032c 100644--- a/fixtures/scenes/ui-layout.esscene+++ b/fixtures/scenes/ui-layout.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/fixtures/scenes/ui-list-mask.esscene b/fixtures/scenes/ui-list-mask.essceneindex 723a0b40c..b901c16b7 100644--- a/fixtures/scenes/ui-list-mask.esscene+++ b/fixtures/scenes/ui-list-mask.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "UIMask (Scissor) clips overflowing content to the viewport — the primitive createListView relies on","entities": [{diff --git a/fixtures/scenes/ui-node-absolute.esscene b/fixtures/scenes/ui-node-absolute.essceneindex a28e2d717..e1f369c51 100644--- a/fixtures/scenes/ui-node-absolute.esscene+++ b/fixtures/scenes/ui-node-absolute.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "UINode absolute positioning / inset (REARCH_GUI F3 unification)","entities": [{diff --git a/fixtures/scenes/ui-node-flex.esscene b/fixtures/scenes/ui-node-flex.essceneindex 513e66718..fa188b726 100644--- a/fixtures/scenes/ui-node-flex.esscene+++ b/fixtures/scenes/ui-node-flex.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "UINode single-pass flex layout (REARCH_GUI F3.2)","entities": [{diff --git a/fixtures/scenes/ui-screen-root.esscene b/fixtures/scenes/ui-screen-root.essceneindex 0f23da9e3..befa4ed19 100644--- a/fixtures/scenes/ui-screen-root.esscene+++ b/fixtures/scenes/ui-screen-root.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Screen root tracks the camera; parented UI rides its parent. The camera starts at the origin and is driven away at runtime, so the layout box moves without resizing.","entities": [{diff --git a/fixtures/scenes/ui-text-effects.esscene b/fixtures/scenes/ui-text-effects.essceneindex a23cbef9c..817209a76 100644--- a/fixtures/scenes/ui-text-effects.esscene+++ b/fixtures/scenes/ui-text-effects.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "SDF text outline + shadow (REARCH_GUI F8)","entities": [{diff --git a/fixtures/scenes/ui-text-overflow.esscene b/fixtures/scenes/ui-text-overflow.essceneindex 9b31e688b..5d2305b50 100644--- a/fixtures/scenes/ui-text-overflow.esscene+++ b/fixtures/scenes/ui-text-overflow.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "TextOverflow — Visible beside Clip","entities": [{diff --git a/fixtures/scenes/ui-text-rect.esscene b/fixtures/scenes/ui-text-rect.essceneindex 4760e1a9f..f7acaf420 100644--- a/fixtures/scenes/ui-text-rect.esscene+++ b/fixtures/scenes/ui-text-rect.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "SDF Text in UIRect","entities": [{diff --git a/fixtures/scenes/ui-text-sdf.esscene b/fixtures/scenes/ui-text-sdf.essceneindex 93ea54b06..b62e3d263 100644--- a/fixtures/scenes/ui-text-sdf.esscene+++ b/fixtures/scenes/ui-text-sdf.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "SDF Text Verify","entities": [{diff --git a/fixtures/scenes/ui-text-uinode.esscene b/fixtures/scenes/ui-text-uinode.essceneindex 7d4c127d2..bfefaae45 100644--- a/fixtures/scenes/ui-text-uinode.esscene+++ b/fixtures/scenes/ui-text-uinode.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Text laid out in a UINode box (REARCH_GUI S1)","entities": [{diff --git a/fixtures/scenes/ui-text-zorder.esscene b/fixtures/scenes/ui-text-zorder.essceneindex bb40c96e1..b4363ba87 100644--- a/fixtures/scenes/ui-text-zorder.esscene+++ b/fixtures/scenes/ui-text-zorder.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "SDF Text z-order over UI","entities": [{diff --git a/fixtures/scenes/ui-textinput.esscene b/fixtures/scenes/ui-textinput.essceneindex 3b2fb7100..69b882f5d 100644--- a/fixtures/scenes/ui-textinput.esscene+++ b/fixtures/scenes/ui-textinput.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "SDF TextInput (REARCH_GUI F8)","entities": [{diff --git a/fixtures/scenes/ui-visual-filled.esscene b/fixtures/scenes/ui-visual-filled.essceneindex b9b301643..937476258 100644--- a/fixtures/scenes/ui-visual-filled.esscene+++ b/fixtures/scenes/ui-visual-filled.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "UIVisual Filled — geometry+UV crop reveals a solid/textured fill along fillMethod/fillOrigin (progress/slider basis)","entities": [{diff --git a/fixtures/scenes/video-playback.esscene b/fixtures/scenes/video-playback.essceneindex 0704bb72c..0de7ff1cc 100644--- a/fixtures/scenes/video-playback.esscene+++ b/fixtures/scenes/video-playback.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "VideoPlayback","entities": [{diff --git a/fixtures/scenes/video-ui.esscene b/fixtures/scenes/video-ui.essceneindex 0bd22e2cd..866a8e3b6 100644--- a/fixtures/scenes/video-ui.esscene+++ b/fixtures/scenes/video-ui.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "VideoUI","entities": [{diff --git a/fixtures/scenes/ysort.esscene b/fixtures/scenes/ysort.essceneindex b992805d1..4ac5b15e5 100644--- a/fixtures/scenes/ysort.esscene+++ b/fixtures/scenes/ysort.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "YSort","entities": [{diff --git a/pipeline/src/project/targetSupport.ts b/pipeline/src/project/targetSupport.tsindex 1ce3641d3..eeb0d8379 100644--- a/pipeline/src/project/targetSupport.ts+++ b/pipeline/src/project/targetSupport.ts@@ -42,7 +42,7 @@ export const SUBSYSTEM_COMPONENTS: Readonly<Record<Subsystem, readonly string[]>physics: ['RigidBody2D', 'BoxCollider2D', 'CircleCollider2D', 'CapsuleCollider2D', 'SegmentCollider2D','PolygonCollider2D', 'ChainCollider2D', 'OneWayPlatform2D', 'CharacterController2D',- 'RevoluteJoint2D', 'DistanceJoint2D', 'PrismaticJoint2D', 'WeldJoint2D', 'WheelJoint2D', 'MotorJoint2D',+ 'HingeJoint2D', 'DistanceJoint2D', 'SliderJoint2D', 'FixedJoint2D', 'WheelJoint2D', 'MotorJoint2D',],spine: ['SpineAnimation'],video: ['Video'],diff --git a/sdk/etc/index.api.md b/sdk/etc/index.api.mdindex f84a85beb..f17b878cc 100644--- a/sdk/etc/index.api.md+++ b/sdk/etc/index.api.md@@ -3160,6 +3160,11 @@ type: "filter"{ identityMatrix(): number[]; grayscaleMatrix(): number[]; sepiaMatrix(): number[]; brightnessMatrix(value: number): number[]; contrastMatrix(value: number): number[]; saturationMatrix(value: number): number[]; invertMatrix(): number[]; getColorMatrixShader: () => ShaderHandle; colorMatrixUniforms(matrix: number[]): Record<string, number[]>; }```+## FixedJoint2D — const @experimental+```+ComponentDef<FixedJoint2DData>+```+## FixedJoint3D — const @experimental```ComponentDef<FixedJoint3DData>@@ -3607,6 +3612,11 @@ plugins: Plugin[] | undefinedsideModules: SideModuleHost | undefined```+## HingeJoint2D — const @experimental+```+ComponentDef<HingeJoint2DData>+```+## HingeJoint3D — const @experimental```ComponentDef<HingeJoint3DData>@@ -5980,11 +5990,6 @@ static new (): PrefabsPluginstatic prototype: PrefabsPlugin```-## PrismaticJoint2D — const @experimental-```-ComponentDef<PrismaticJoint2DData>-```-## ProbedRegistrations — interface @experimental```fingerprint: string@@ -6493,11 +6498,6 @@ type: "reverb"wet: number | undefined```-## RevoluteJoint2D — const @experimental-```-ComponentDef<RevoluteJoint2DData>-```-## RichTextRun — type @experimental```TextSegment | ImageSegment@@ -6602,7 +6602,7 @@ ComponentDef<{}>## SCENE_FORMAT_VERSION — const @experimental```-3+4```## SCREEN_FIT_OFF — const @experimental@@ -7176,6 +7176,11 @@ setValue: (value: number) => voidtrackEntity: number```+## SliderJoint2D — const @experimental+```+ComponentDef<SliderJoint2DData>+```+## SliderJoint3D — const @experimental```ComponentDef<SliderJoint3DData>@@ -9216,11 +9221,6 @@ device: unknownreason: string | undefined```-## WeldJoint2D — const @experimental-```-ComponentDef<WeldJoint2DData>-```-## WheelJoint2D — const @experimental```ComponentDef<WheelJoint2DData>diff --git a/sdk/etc/index.native.api.md b/sdk/etc/index.native.api.mdindex ef08ae20b..6e5fc1ba5 100644--- a/sdk/etc/index.native.api.md+++ b/sdk/etc/index.native.api.md@@ -3168,6 +3168,11 @@ type: "filter"{ identityMatrix(): number[]; grayscaleMatrix(): number[]; sepiaMatrix(): number[]; brightnessMatrix(value: number): number[]; contrastMatrix(value: number): number[]; saturationMatrix(value: number): number[]; invertMatrix(): number[]; getColorMatrixShader: () => ShaderHandle; colorMatrixUniforms(matrix: number[]): Record<string, number[]>; }```+## FixedJoint2D — const @experimental+```+ComponentDef<FixedJoint2DData>+```+## FixedJoint3D — const @experimental```ComponentDef<FixedJoint3DData>@@ -3615,6 +3620,11 @@ plugins: Plugin[] | undefinedsideModules: SideModuleHost | undefined```+## HingeJoint2D — const @experimental+```+ComponentDef<HingeJoint2DData>+```+## HingeJoint3D — const @experimental```ComponentDef<HingeJoint3DData>@@ -6163,11 +6173,6 @@ static new (): PrefabsPluginstatic prototype: PrefabsPlugin```-## PrismaticJoint2D — const @experimental-```-ComponentDef<PrismaticJoint2DData>-```-## ProbedRegistrations — interface @experimental```fingerprint: string@@ -6686,11 +6691,6 @@ type: "reverb"wet: number | undefined```-## RevoluteJoint2D — const @experimental-```-ComponentDef<RevoluteJoint2DData>-```-## RichTextRun — type @experimental```TextSegment | ImageSegment@@ -6795,7 +6795,7 @@ ComponentDef<{}>## SCENE_FORMAT_VERSION — const @experimental```-3+4```## SCREEN_FIT_OFF — const @experimental@@ -7369,6 +7369,11 @@ setValue: (value: number) => voidtrackEntity: number```+## SliderJoint2D — const @experimental+```+ComponentDef<SliderJoint2DData>+```+## SliderJoint3D — const @experimental```ComponentDef<SliderJoint3DData>@@ -9409,11 +9414,6 @@ device: unknownreason: string | undefined```-## WeldJoint2D — const @experimental-```-ComponentDef<WeldJoint2DData>-```-## WheelJoint2D — const @experimental```ComponentDef<WheelJoint2DData>diff --git a/sdk/etc/index.node.api.md b/sdk/etc/index.node.api.mdindex 224be51ac..1280cf89a 100644--- a/sdk/etc/index.node.api.md+++ b/sdk/etc/index.node.api.md@@ -3155,6 +3155,11 @@ type: "filter"{ identityMatrix(): number[]; grayscaleMatrix(): number[]; sepiaMatrix(): number[]; brightnessMatrix(value: number): number[]; contrastMatrix(value: number): number[]; saturationMatrix(value: number): number[]; invertMatrix(): number[]; getColorMatrixShader: () => ShaderHandle; colorMatrixUniforms(matrix: number[]): Record<string, number[]>; }```+## FixedJoint2D — const @experimental+```+ComponentDef<FixedJoint2DData>+```+## FixedJoint3D — const @experimental```ComponentDef<FixedJoint3DData>@@ -3602,6 +3607,11 @@ plugins: Plugin[] | undefinedsideModules: SideModuleHost | undefined```+## HingeJoint2D — const @experimental+```+ComponentDef<HingeJoint2DData>+```+## HingeJoint3D — const @experimental```ComponentDef<HingeJoint3DData>@@ -5975,11 +5985,6 @@ static new (): PrefabsPluginstatic prototype: PrefabsPlugin```-## PrismaticJoint2D — const @experimental-```-ComponentDef<PrismaticJoint2DData>-```-## ProbedRegistrations — interface @experimental```fingerprint: string@@ -6488,11 +6493,6 @@ type: "reverb"wet: number | undefined```-## RevoluteJoint2D — const @experimental-```-ComponentDef<RevoluteJoint2DData>-```-## RichTextRun — type @experimental```TextSegment | ImageSegment@@ -6597,7 +6597,7 @@ ComponentDef<{}>## SCENE_FORMAT_VERSION — const @experimental```-3+4```## SCREEN_FIT_OFF — const @experimental@@ -7171,6 +7171,11 @@ setValue: (value: number) => voidtrackEntity: number```+## SliderJoint2D — const @experimental+```+ComponentDef<SliderJoint2DData>+```+## SliderJoint3D — const @experimental```ComponentDef<SliderJoint3DData>@@ -9211,11 +9216,6 @@ device: unknownreason: string | undefined```-## WeldJoint2D — const @experimental-```-ComponentDef<WeldJoint2DData>-```-## WheelJoint2D — const @experimental```ComponentDef<WheelJoint2DData>diff --git a/sdk/etc/minigame.api.md b/sdk/etc/minigame.api.mdindex a8cce24a5..d66df7637 100644--- a/sdk/etc/minigame.api.md+++ b/sdk/etc/minigame.api.md@@ -3155,6 +3155,11 @@ type: "filter"{ identityMatrix(): number[]; grayscaleMatrix(): number[]; sepiaMatrix(): number[]; brightnessMatrix(value: number): number[]; contrastMatrix(value: number): number[]; saturationMatrix(value: number): number[]; invertMatrix(): number[]; getColorMatrixShader: () => ShaderHandle; colorMatrixUniforms(matrix: number[]): Record<string, number[]>; }```+## FixedJoint2D — const @experimental+```+ComponentDef<FixedJoint2DData>+```+## FixedJoint3D — const @experimental```ComponentDef<FixedJoint3DData>@@ -3602,6 +3607,11 @@ plugins: Plugin[] | undefinedsideModules: SideModuleHost | undefined```+## HingeJoint2D — const @experimental+```+ComponentDef<HingeJoint2DData>+```+## HingeJoint3D — const @experimental```ComponentDef<HingeJoint3DData>@@ -6220,11 +6230,6 @@ static new (): PrefabsPluginstatic prototype: PrefabsPlugin```-## PrismaticJoint2D — const @experimental-```-ComponentDef<PrismaticJoint2DData>-```-## ProbedRegistrations — interface @experimental```fingerprint: string@@ -6733,11 +6738,6 @@ type: "reverb"wet: number | undefined```-## RevoluteJoint2D — const @experimental-```-ComponentDef<RevoluteJoint2DData>-```-## RichTextRun — type @experimental```TextSegment | ImageSegment@@ -6842,7 +6842,7 @@ ComponentDef<{}>## SCENE_FORMAT_VERSION — const @experimental```-3+4```## SCREEN_FIT_OFF — const @experimental@@ -7416,6 +7416,11 @@ setValue: (value: number) => voidtrackEntity: number```+## SliderJoint2D — const @experimental+```+ComponentDef<SliderJoint2DData>+```+## SliderJoint3D — const @experimental```ComponentDef<SliderJoint3DData>@@ -9462,11 +9467,6 @@ device: unknownreason: string | undefined```-## WeldJoint2D — const @experimental-```-ComponentDef<WeldJoint2DData>-```-## WheelJoint2D — const @experimental```ComponentDef<WheelJoint2DData>diff --git a/sdk/etc/physics.api.md b/sdk/etc/physics.api.mdindex c394bbf3c..fb08544e8 100644--- a/sdk/etc/physics.api.md+++ b/sdk/etc/physics.api.md@@ -177,6 +177,44 @@ minLength: numbermotorSpeed: number```+## FixedJoint2D — const @experimental+```+ComponentDef<FixedJoint2DData>+```++## FixedJoint2DData — interface @experimental+```+anchorA: Vec2+anchorB: Vec2+angularDampingRatio: number+angularHertz: number+collideConnected: boolean+connectedEntity: number+enabled: boolean+linearDampingRatio: number+linearHertz: number+```++## HingeJoint2D — const @experimental+```+ComponentDef<HingeJoint2DData>+```++## HingeJoint2DData — interface @experimental+```+anchorA: Vec2+anchorB: Vec2+collideConnected: boolean+connectedEntity: number+enableLimit: boolean+enableMotor: boolean+enabled: boolean+lowerAngle: number+maxMotorTorque: number+motorSpeed: number+upperAngle: number+```+## MassData — interface @experimental```centerOfMass: Vec2@@ -539,30 +577,6 @@ restitution: numbervertices: Vec2[]```-## PrismaticJoint2D — const @experimental-```-ComponentDef<PrismaticJoint2DData>-```--## PrismaticJoint2DData — interface @experimental-```-anchorA: Vec2-anchorB: Vec2-axis: Vec2-collideConnected: boolean-connectedEntity: number-dampingRatio: number-enableLimit: boolean-enableMotor: boolean-enableSpring: boolean-enabled: boolean-hertz: number-lowerTranslation: number-maxMotorForce: number-motorSpeed: number-upperTranslation: number-```-## RaycastHit — interface @experimental```entity: number@@ -571,26 +585,6 @@ normal: Vec2point: Vec2```-## RevoluteJoint2D — const @experimental-```-ComponentDef<RevoluteJoint2DData>-```--## RevoluteJoint2DData — interface @experimental-```-anchorA: Vec2-anchorB: Vec2-collideConnected: boolean-connectedEntity: number-enableLimit: boolean-enableMotor: boolean-enabled: boolean-lowerAngle: number-maxMotorTorque: number-motorSpeed: number-upperAngle: number-```-## RigidBody2D — const @experimental```BuiltinComponentDef<RigidBody2DData>@@ -648,22 +642,28 @@ nx: numberny: number```-## WeldJoint2D — const @experimental+## SliderJoint2D — const @experimental```-ComponentDef<WeldJoint2DData>+ComponentDef<SliderJoint2DData>```-## WeldJoint2DData — interface @experimental+## SliderJoint2DData — interface @experimental```anchorA: Vec2anchorB: Vec2-angularDampingRatio: number-angularHertz: number+axis: Vec2collideConnected: booleanconnectedEntity: number+dampingRatio: number+enableLimit: boolean+enableMotor: boolean+enableSpring: booleanenabled: boolean-linearDampingRatio: number-linearHertz: number+hertz: number+lowerTranslation: number+maxMotorForce: number+motorSpeed: number+upperTranslation: number```## WheelJoint2D — const @experimentaldiff --git a/sdk/etc/wechat.api.md b/sdk/etc/wechat.api.mdindex 1d55db31e..7a191437f 100644--- a/sdk/etc/wechat.api.md+++ b/sdk/etc/wechat.api.md@@ -3155,6 +3155,11 @@ type: "filter"{ identityMatrix(): number[]; grayscaleMatrix(): number[]; sepiaMatrix(): number[]; brightnessMatrix(value: number): number[]; contrastMatrix(value: number): number[]; saturationMatrix(value: number): number[]; invertMatrix(): number[]; getColorMatrixShader: () => ShaderHandle; colorMatrixUniforms(matrix: number[]): Record<string, number[]>; }```+## FixedJoint2D — const @experimental+```+ComponentDef<FixedJoint2DData>+```+## FixedJoint3D — const @experimental```ComponentDef<FixedJoint3DData>@@ -3602,6 +3607,11 @@ plugins: Plugin[] | undefinedsideModules: SideModuleHost | undefined```+## HingeJoint2D — const @experimental+```+ComponentDef<HingeJoint2DData>+```+## HingeJoint3D — const @experimental```ComponentDef<HingeJoint3DData>@@ -5982,11 +5992,6 @@ static new (): PrefabsPluginstatic prototype: PrefabsPlugin```-## PrismaticJoint2D — const @experimental-```-ComponentDef<PrismaticJoint2DData>-```-## ProbedRegistrations — interface @experimental```fingerprint: string@@ -6495,11 +6500,6 @@ type: "reverb"wet: number | undefined```-## RevoluteJoint2D — const @experimental-```-ComponentDef<RevoluteJoint2DData>-```-## RichTextRun — type @experimental```TextSegment | ImageSegment@@ -6604,7 +6604,7 @@ ComponentDef<{}>## SCENE_FORMAT_VERSION — const @experimental```-3+4```## SCREEN_FIT_OFF — const @experimental@@ -7178,6 +7178,11 @@ setValue: (value: number) => voidtrackEntity: number```+## SliderJoint2D — const @experimental+```+ComponentDef<SliderJoint2DData>+```+## SliderJoint3D — const @experimental```ComponentDef<SliderJoint3DData>@@ -9238,11 +9243,6 @@ device: unknownreason: string | undefined```-## WeldJoint2D — const @experimental-```-ComponentDef<WeldJoint2DData>-```-## WheelJoint2D — const @experimental```ComponentDef<WheelJoint2DData>diff --git a/sdk/src/core-runtime.ts b/sdk/src/core-runtime.tsindex 2cc3c6400..926b50ae4 100644--- a/sdk/src/core-runtime.ts+++ b/sdk/src/core-runtime.ts@@ -159,10 +159,10 @@ export {PolygonCollider2D,ChainCollider2D,OneWayPlatform2D,- RevoluteJoint2D,+ HingeJoint2D,DistanceJoint2D,- PrismaticJoint2D,- WeldJoint2D,+ SliderJoint2D,+ FixedJoint2D,WheelJoint2D,MotorJoint2D,BodyType,diff --git a/sdk/src/physics/PhysicsComponents.ts b/sdk/src/physics/PhysicsComponents.tsindex a30f4560a..e8b65f93b 100644--- a/sdk/src/physics/PhysicsComponents.ts+++ b/sdk/src/physics/PhysicsComponents.ts@@ -258,7 +258,7 @@ export const OneWayPlatform2D = defineComponent<OneWayPlatform2DData>('OneWayPla// Joint Components// =============================================================================-export interface RevoluteJoint2DData {+export interface HingeJoint2DData {connectedEntity: number;anchorA: Vec2;anchorB: Vec2;@@ -272,7 +272,7 @@ export interface RevoluteJoint2DData {enabled: boolean;}-export const RevoluteJoint2D = defineComponent<RevoluteJoint2DData>('RevoluteJoint2D', {+export const HingeJoint2D = defineComponent<HingeJoint2DData>('HingeJoint2D', {connectedEntity: -1,anchorA: { x: 0, y: 0 },anchorB: { x: 0, y: 0 },@@ -322,7 +322,7 @@ export const DistanceJoint2D = defineComponent<DistanceJoint2DData>('DistanceJoienabled: true,}, { entityFields: ['connectedEntity'] });-export interface PrismaticJoint2DData {+export interface SliderJoint2DData {connectedEntity: number;anchorA: Vec2;anchorB: Vec2;@@ -340,7 +340,7 @@ export interface PrismaticJoint2DData {enabled: boolean;}-export const PrismaticJoint2D = defineComponent<PrismaticJoint2DData>('PrismaticJoint2D', {+export const SliderJoint2D = defineComponent<SliderJoint2DData>('SliderJoint2D', {connectedEntity: -1,anchorA: { x: 0, y: 0 },anchorB: { x: 0, y: 0 },@@ -358,7 +358,7 @@ export const PrismaticJoint2D = defineComponent<PrismaticJoint2DData>('Prismaticenabled: true,}, { entityFields: ['connectedEntity'] });-export interface WeldJoint2DData {+export interface FixedJoint2DData {connectedEntity: number;anchorA: Vec2;anchorB: Vec2;@@ -370,7 +370,7 @@ export interface WeldJoint2DData {enabled: boolean;}-export const WeldJoint2D = defineComponent<WeldJoint2DData>('WeldJoint2D', {+export const FixedJoint2D = defineComponent<FixedJoint2DData>('FixedJoint2D', {connectedEntity: -1,anchorA: { x: 0, y: 0 },anchorB: { x: 0, y: 0 },diff --git a/sdk/src/physics/PhysicsSystem.ts b/sdk/src/physics/PhysicsSystem.tsindex 7838f6b1d..c1588d8f1 100644--- a/sdk/src/physics/PhysicsSystem.ts+++ b/sdk/src/physics/PhysicsSystem.ts@@ -22,12 +22,12 @@ import { Physics2D } from './Physics2D';import {RigidBody2D, BoxCollider2D, CircleCollider2D, CapsuleCollider2D,SegmentCollider2D, PolygonCollider2D, ChainCollider2D, OneWayPlatform2D,- RevoluteJoint2D, DistanceJoint2D, PrismaticJoint2D, WeldJoint2D, WheelJoint2D, MotorJoint2D,+ HingeJoint2D, DistanceJoint2D, SliderJoint2D, FixedJoint2D, WheelJoint2D, MotorJoint2D,BodyType, activeCollider,type RigidBody2DData, type BoxCollider2DData, type CircleCollider2DData,type CapsuleCollider2DData, type SegmentCollider2DData, type PolygonCollider2DData,- type ChainCollider2DData, type OneWayPlatform2DData, type RevoluteJoint2DData,- type DistanceJoint2DData, type PrismaticJoint2DData, type WeldJoint2DData, type WheelJoint2DData,+ type ChainCollider2DData, type OneWayPlatform2DData, type HingeJoint2DData,+ type DistanceJoint2DData, type SliderJoint2DData, type FixedJoint2DData, type WheelJoint2DData,type MotorJoint2DData,} from './PhysicsComponents';import {@@ -195,11 +195,11 @@ function createPendingJoints(trackedJoints: Set<Entity>,invPpu: number,): void {- const jointEntities = world.getEntitiesWithComponents([RevoluteJoint2D, RigidBody2D]);+ const jointEntities = world.getEntitiesWithComponents([HingeJoint2D, RigidBody2D]);for (const entity of jointEntities) {if (trackedJoints.has(entity)) continue;if (!trackedEntities.has(entity)) continue;- const joint = world.get(entity, RevoluteJoint2D) as RevoluteJoint2DData;+ const joint = world.get(entity, HingeJoint2D) as HingeJoint2DData;if (!joint.enabled) continue;const connected = joint.connectedEntity as Entity;if (!trackedEntities.has(connected)) continue;@@ -234,10 +234,10 @@ function createPendingJoints(trackedJoints.add(entity);}- for (const entity of world.getEntitiesWithComponents([PrismaticJoint2D, RigidBody2D])) {+ for (const entity of world.getEntitiesWithComponents([SliderJoint2D, RigidBody2D])) {if (trackedJoints.has(entity)) continue;if (!trackedEntities.has(entity)) continue;- const j = world.get(entity, PrismaticJoint2D) as PrismaticJoint2DData;+ const j = world.get(entity, SliderJoint2D) as SliderJoint2DData;if (!j.enabled) continue;const connected = j.connectedEntity as Entity;if (!trackedEntities.has(connected)) continue;@@ -254,10 +254,10 @@ function createPendingJoints(trackedJoints.add(entity);}- for (const entity of world.getEntitiesWithComponents([WeldJoint2D, RigidBody2D])) {+ for (const entity of world.getEntitiesWithComponents([FixedJoint2D, RigidBody2D])) {if (trackedJoints.has(entity)) continue;if (!trackedEntities.has(entity)) continue;- const j = world.get(entity, WeldJoint2D) as WeldJoint2DData;+ const j = world.get(entity, FixedJoint2D) as FixedJoint2DData;if (!j.enabled) continue;const connected = j.connectedEntity as Entity;if (!trackedEntities.has(connected)) continue;@@ -622,7 +622,7 @@ const COLLIDER_TYPES = [BoxCollider2D, CircleCollider2D, CapsuleCollider2D, SegmentCollider2D, PolygonCollider2D, ChainCollider2D,] as const;-const JOINT_TYPES = [RevoluteJoint2D, DistanceJoint2D, PrismaticJoint2D, WeldJoint2D, WheelJoint2D, MotorJoint2D] as const;+const JOINT_TYPES = [HingeJoint2D, DistanceJoint2D, SliderJoint2D, FixedJoint2D, WheelJoint2D, MotorJoint2D] as const;/** Bitmask of which collider components an entity currently has. @internal */export function colliderSignature(world: App['world'], entity: Entity): number {diff --git a/sdk/src/physics/index.ts b/sdk/src/physics/index.tsindex d9f26d064..dd38cc923 100644--- a/sdk/src/physics/index.ts+++ b/sdk/src/physics/index.ts@@ -50,10 +50,10 @@ export {PolygonCollider2D,ChainCollider2D,OneWayPlatform2D,- RevoluteJoint2D,+ HingeJoint2D,DistanceJoint2D,- PrismaticJoint2D,- WeldJoint2D,+ SliderJoint2D,+ FixedJoint2D,WheelJoint2D,MotorJoint2D,BodyType,@@ -65,10 +65,10 @@ export {type PolygonCollider2DData,type ChainCollider2DData,type OneWayPlatform2DData,- type RevoluteJoint2DData,+ type HingeJoint2DData,type DistanceJoint2DData,- type PrismaticJoint2DData,- type WeldJoint2DData,+ type SliderJoint2DData,+ type FixedJoint2DData,type WheelJoint2DData,type MotorJoint2DData,} from './PhysicsComponents';diff --git a/sdk/src/scene/legacyComponents.ts b/sdk/src/scene/legacyComponents.tsindex 0623092d3..bbd8f0434 100644--- a/sdk/src/scene/legacyComponents.ts+++ b/sdk/src/scene/legacyComponents.ts@@ -58,11 +58,17 @@ export const RENAMED_COMPONENT_TYPES: ReadonlyMap<string, string> = new Map([// `DistanceJoint` and `DistanceJoint3D` differed by three characters and one// solver; the rest of the flat set follows it rather than being half-named.['DistanceJoint', 'DistanceJoint2D'],- ['RevoluteJoint', 'RevoluteJoint2D'],- ['PrismaticJoint', 'PrismaticJoint2D'],- ['WeldJoint', 'WeldJoint2D'],['WheelJoint', 'WheelJoint2D'],['MotorJoint', 'MotorJoint2D'],+ // Each world named the same joint after its own solver — Box2D revolute, Jolt+ // hinge. The flat set takes the solid one's words, which a creator already+ // knows. Both earlier spellings map, since pre-suffix files are still out there.+ ['RevoluteJoint', 'HingeJoint2D'],+ ['RevoluteJoint2D', 'HingeJoint2D'],+ ['PrismaticJoint', 'SliderJoint2D'],+ ['PrismaticJoint2D', 'SliderJoint2D'],+ ['WeldJoint', 'FixedJoint2D'],+ ['WeldJoint2D', 'FixedJoint2D'],]);/** Light kinds that aim: Directional (1) and Spot (3). Point and Ambient never did. */diff --git a/sdk/src/scene/scene.ts b/sdk/src/scene/scene.tsindex 5f0d63d73..2353a0c4e 100644--- a/sdk/src/scene/scene.ts+++ b/sdk/src/scene/scene.ts@@ -310,8 +310,11 @@ export async function expandScenePrefabs(* (`RigidBody` → `RigidBody2D`, the four colliders, `CharacterController`).* Same reasoning as 2, and worse here: an older engine drops the bodies and* loads a level whose floor nothing collides with.+ * 4: the flat joints took the 3D set's words, which are also the industry's+ * (`RevoluteJoint2D` → `HingeJoint2D`, prismatic → slider, weld → fixed).+ * Same reasoning again: dropped joints load a machine whose parts fall apart.*/-export const SCENE_FORMAT_VERSION = 3;+export const SCENE_FORMAT_VERSION = 4;export interface SceneMigrationResult {/** A migrated *copy* — the input is never mutated. */diff --git a/sdk/tests/component-rename-upgrade.test.ts b/sdk/tests/component-rename-upgrade.test.tsindex a915ef572..e7cf7615a 100644--- a/sdk/tests/component-rename-upgrade.test.ts+++ b/sdk/tests/component-rename-upgrade.test.ts@@ -39,6 +39,21 @@ describe('a component renamed by an engine upgrade', () => {expect(componentsOf(data)[1]!.data).toEqual({ lit: true, layer: 3 });});+ it('takes a joint all the way to the current name in one pass', () => {+ // Two generations of spelling in one file, and the map is applied ONCE, so+ // a chain has to be collapsed in it: stopping at the intermediate name+ // leaves a component the loader has never heard of.+ const { data, migrated } = migrateSceneData(sceneWith([+ { type: 'RevoluteJoint', data: { connectedEntity: 4, enableMotor: true } },+ { type: 'WeldJoint2D', data: { linearHertz: 30 } },+ { type: 'PrismaticJoint2D', data: { lowerTranslation: -50 } },+ ]));+ expect(migrated).toBe(true);+ expect(componentsOf(data).map((c) => c.type))+ .toEqual(['HingeJoint2D', 'FixedJoint2D', 'SliderJoint2D']);+ expect(componentsOf(data)[0]!.data).toEqual({ connectedEntity: 4, enableMotor: true });+ });+it('is idempotent — a file already using the new name is left alone', () => {const { migrated } = migrateSceneData(sceneWith([{ type: 'Light', data: { type: 2 } },diff --git a/sdk/tests/physicsReconcile.test.ts b/sdk/tests/physicsReconcile.test.tsindex 237617777..0063da105 100644--- a/sdk/tests/physicsReconcile.test.ts+++ b/sdk/tests/physicsReconcile.test.ts@@ -10,7 +10,7 @@ import { describe, it, expect } from 'vitest';import { World } from '../src/ecs/world';import { createMockModule } from './mocks/wasm';import {- BoxCollider2D, CircleCollider2D, CapsuleCollider2D, RevoluteJoint2D,+ BoxCollider2D, CircleCollider2D, CapsuleCollider2D, HingeJoint2D,} from '../src/physics/PhysicsComponents';import { colliderSignature, jointChangedOrGone, jointPartnerGone } from '../src/physics/PhysicsSystem';@@ -58,7 +58,7 @@ describe('jointChangedOrGone', () => {it('is false for a present joint not changed since the given tick', () => {const world = testWorld();const e = world.spawn();- world.insert(e, RevoluteJoint2D, {} as never);+ world.insert(e, HingeJoint2D, {} as never);// isChangedSince(currentTick) is false (it was last touched this tick),// so a present, unedited joint is left intact.expect(jointChangedOrGone(world, e, world.getWorldTick())).toBe(false);@@ -70,7 +70,7 @@ describe('jointPartnerGone', () => {const world = testWorld();const owner = world.spawn();const partner = world.spawn();- world.insert(owner, RevoluteJoint2D, { connectedEntity: partner } as never);+ world.insert(owner, HingeJoint2D, { connectedEntity: partner } as never);expect(jointPartnerGone(world, owner, new Set([owner, partner]))).toBe(false);});@@ -78,7 +78,7 @@ describe('jointPartnerGone', () => {const world = testWorld();const owner = world.spawn();const partner = world.spawn();- world.insert(owner, RevoluteJoint2D, { connectedEntity: partner } as never);+ world.insert(owner, HingeJoint2D, { connectedEntity: partner } as never);// Partner despawned → no longer tracked; the joint (auto-destroyed by// Box2D) must be re-established, not left silently dead forever.expect(jointPartnerGone(world, owner, new Set([owner]))).toBe(true);diff --git a/templates/2d-platformer/assets/scenes/main.esscene b/templates/2d-platformer/assets/scenes/main.essceneindex 279ea89af..44c9535bc 100644--- a/templates/2d-platformer/assets/scenes/main.esscene+++ b/templates/2d-platformer/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","folders": ["Environment",diff --git a/templates/3d-starter/assets/scenes/main.esscene b/templates/3d-starter/assets/scenes/main.essceneindex 733aa55b1..76b763269 100644--- a/templates/3d-starter/assets/scenes/main.esscene+++ b/templates/3d-starter/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","folders": ["Lighting",diff --git a/templates/blank/assets/scenes/main.esscene b/templates/blank/assets/scenes/main.essceneindex 9cc86e4c0..cd5ad72b8 100644--- a/templates/blank/assets/scenes/main.esscene+++ b/templates/blank/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/templates/pixel-rpg/assets/scenes/main.esscene b/templates/pixel-rpg/assets/scenes/main.essceneindex 194e04b36..db259ffad 100644--- a/templates/pixel-rpg/assets/scenes/main.esscene+++ b/templates/pixel-rpg/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/templates/playable-ad/assets/scenes/main.esscene b/templates/playable-ad/assets/scenes/main.essceneindex 960d4e6f4..617cd6154 100644--- a/templates/playable-ad/assets/scenes/main.esscene+++ b/templates/playable-ad/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/templates/top-down/assets/scenes/main.esscene b/templates/top-down/assets/scenes/main.essceneindex 599fab243..10e12d7fb 100644--- a/templates/top-down/assets/scenes/main.esscene+++ b/templates/top-down/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","folders": ["Level"diff --git a/templates/ui-game/assets/scenes/main.esscene b/templates/ui-game/assets/scenes/main.essceneindex 1b737e39b..fd7dccfb6 100644--- a/templates/ui-game/assets/scenes/main.esscene+++ b/templates/ui-game/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{diff --git a/templates/wechat-minigame/assets/scenes/main.esscene b/templates/wechat-minigame/assets/scenes/main.essceneindex e5d30d179..299802906 100644--- a/templates/wechat-minigame/assets/scenes/main.esscene+++ b/templates/wechat-minigame/assets/scenes/main.esscene@@ -1,5 +1,5 @@{- "version": 3,+ "version": 4,"name": "Main","entities": [{