Player Animation Cinematic
Play a player animation during a cinematic
字段
| 字段 | 类型 | 默认值 | 描述 | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
modelId | Var<String> | steve | The limb model ID from BetterModel/players folder (e.g., 'steve', 'alex') | ||||||||||||||||||||||||||||||||
position | Var<Position> | ORIGIN | The fixed world position where the animation will play. Captured once in the editor. | ||||||||||||||||||||||||||||||||
segments | List<PlayerAnimationSegment> | empty | —
|
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
startFrame | Int | 0 | — |
endFrame | Int | 0 | — |
animation | Var<String> | — | The animation name to play |
playMode | PlayMode | PLAY_ONCE | Animation play mode: PLAY_ONCE, HOLD_ON_LAST, or LOOP可选值:PLAY_ONCEHOLD_ON_LASTLOOP |
lerpIn | Int | 6 | The duration of the lerp in effect (ticks) |
lerpOut | Int | 6 | The duration of the lerp out effect (ticks) |
speed | Float | 1.0 | The speed multiplier of the animation |
TypeWriter 通用字段(criteria)
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
criteria | List<Criteria> | empty | — |
How to use it
Same segments as the animation cinematic, but the model is placed at the fixed position you captured, so the camera can move freely around it. modelId is a limb model from BetterModel's players folder (for example steve). It is shown only to the player watching.