some jumping animations
This commit is contained in:
@@ -106,9 +106,16 @@ public partial class HeadSystem : Node3D
|
||||
|
||||
public void OnMantle()
|
||||
{
|
||||
_animationPlayer.Play("mantle");
|
||||
_animationTree.Set("parameters/OnMantle/request", (int) AnimationNodeOneShot.OneShotRequest.Fire);
|
||||
}
|
||||
public void OnJumpStarted()
|
||||
{
|
||||
_animationTree.Set("parameters/OnJumpStart/request", (int) AnimationNodeOneShot.OneShotRequest.Fire);
|
||||
}
|
||||
public void OnJumpEnded()
|
||||
{
|
||||
_animationTree.Set("parameters/OnJumpEnd/request", (int) AnimationNodeOneShot.OneShotRequest.Fire);
|
||||
}
|
||||
|
||||
public void OnHit()
|
||||
{
|
||||
_animationTree.Set("parameters/OnHit/request", (int) AnimationNodeOneShot.OneShotRequest.Fire);
|
||||
@@ -118,7 +125,6 @@ public partial class HeadSystem : Node3D
|
||||
{
|
||||
EmitSignalHitboxActivated();
|
||||
}
|
||||
|
||||
public void OnHitboxDeactivated()
|
||||
{
|
||||
EmitSignalHitboxDeactivated();
|
||||
|
||||
Reference in New Issue
Block a user