Module 4 · In Studio · challenge 3 of 3 in this lesson
challenges/animation_work.luau caches one track per Animator and reloads for a new Animator
A test in Studio grades it and prints a pass code.
Open
Level 3, Professional
Challenge
Fix the respawn bug and model blending in challenges/animation_work.luau on m14-ship. The check models animation tracks without loading an animation. Press Play and run game.ServerScriptService.RunGameTests:Invoke("animation") in the server command bar.
- Start from
- The game at milestone m14 (download)
- Grade it
- In Studio, press Play, then run
game.ServerScriptService.RunGameTests:Invoke("animation")in the server command bar. Copy the pass code from Output.
Done means
- challenges/animation_work.luau caches one track per Animator and reloads for a new Animator
- Its blend function follows the priority and weight rule from this lesson
- challenges/animation.luau prints TEST PASS for track_cached, track_per_animator, blend_override, blend_share and blend_same_rank