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
docs(changelog): a rotation you can edit on all three axes
esengineab06b49d343d
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex b8d937ab9..6b9afe3b9 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -16,6 +16,16 @@ published separately; it ships inside the editor.### Fixed+- **A rotation could only be edited on one axis, and editing it destroyed the+ other two.** `Transform.rotation` is a quaternion and the inspector showed one+ number for it — the Z turn, the 2D convention. Writing that control rebuilt the+ whole quaternion from the angle alone, so a model that arrived from a glTF with a+ 3D pose was flattened the moment anyone touched its rotation, in the inspector or+ with the rotate gizmo. It is now three degrees (X then Y then Z about fixed axes),+ laid out like position and scale, and the Z-only write the gizmo uses sets that+ turn while keeping the other two. A rotation purely about Z reads back as+ `(0, 0, angle)` and rebuilds exactly, so 2D content is unchanged.+- **The stock Lit material ignored a mesh's own normals.** A material could drawgeometry that carries normals, but the built-in Lit template — what a userreaches for first, and the only lit material needing no shader file — still