some jumping animations
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 18s
Create tag and build when new code gets to main / Export (push) Successful in 10m30s

This commit is contained in:
2026-01-20 13:23:42 +01:00
parent a257306999
commit 8d1e7ebb4f
8 changed files with 199 additions and 120 deletions

View File

@@ -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();