Zombie animation now supports timescale

This commit is contained in:
Rendo 2025-07-07 23:27:36 +05:00
commit df940e2ba6
3 changed files with 28 additions and 7 deletions

View file

@ -11,8 +11,7 @@ public partial class HoboBehaviour : Node
public void Trashed()
{
canDestroyed = true;
((AnimationNodeStateMachinePlayback)_animationTree.Get("parameters/playback")).Travel("hobo_zombie_can_destroy");
_animationTree.Set("parameters/eat_Tree/blend/blend_amount", 1.0);
((AnimationNodeStateMachinePlayback)_animationTree.Get("parameters/Tree/playback")).Travel("hobo_zombie_can_destroy");
_eatBox._damage.SetMult(3.0f);
}
}