anim_bake
Sample procedural or constraint-driven animation tracks into explicit keyframes per frame, ensuring game engines can evaluate motion before FBX export. Returns the number of keys written.
Instructions
把程序化/约束驱动的轨迹按帧采样并写入显式关键帧——这正是导出到游戏引擎前必须做的事。引擎无法求值 Max 的程序化控制器、约束、表达式,所以 FBX 导出前一定要先烘焙。返回写入的关键帧数量。 [English] Sample a procedural/constraint-driven track per frame and write explicit keyframes - this is exactly what you must do before exporting to a game engine. Engines cannot evaluate Max's procedural controllers, constraints or expressions, so ALWAYS bake before FBX export. Returns the number of keys written.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| step | No | 采样步长,默认 1。 | Sampling step, default 1. | |
| objects | No | 对象名列表;省略则用当前选择。 | Object names; omit for the current selection. | |
| endFrame | No | 结束帧,默认动画范围终点。 | Last frame, default animation range end. | |
| properties | No | 要烘焙的属性;省略则烘焙 position/rotation/scale。 | Properties to bake; omit for position/rotation/scale. | |
| startFrame | No | 起始帧,默认动画范围起点。 | First frame, default animation range start. |