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 model's animations come in with it
esengine24f4fb9ef4fe
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 3c0a4afa2..f409481fd 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -16,6 +16,21 @@ published separately; it ships inside the editor.### Added+- **A model's animations come in with it.** A glTF's animations were counted and+ reported as skipped, so an imported model could be placed, lit and posed but+ never moved. Each one is written out as an `.estimeline` beside the meshes, and+ the prefab's root carries a player pointing at the first — stopped, because+ what to play is the scene's decision and not the importer's. A channel targets+ its node by the path of names the runtime resolves, so sibling nodes sharing a+ name are made distinct at import rather than leaving a track to drive whichever+ the walk reached first. Interpolation carries across as it stands: LINEAR and+ STEP by name, and CUBICSPLINE's `[inTangent, value, outTangent]` triples into+ the three fields a keyframe already has, tangents included, since both sides+ measure them per second. Quaternion keyframes are sign-aligned so a rotation+ takes the short way round. Morph-target weights are still reported rather than+ dropped, and an animation driving skinned joints now says that the mesh bound+ to them will not deform — the joints move, which is what node animation is.+- **A rotation can be animated on all three axes.** `Transform.rotation` is aquaternion, but the reflection metadata offered exactly one animatable channelfor it — `rotation.z` — and that channel was not the quaternion's z component: