Zombie animation now supports timescale
This commit is contained in:
parent
e7a9860a54
commit
df940e2ba6
3 changed files with 28 additions and 7 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue