added ground pound

This commit is contained in:
derek
2025-06-16 15:21:31 -05:00
parent 942ab25abf
commit be26131b39
5 changed files with 23 additions and 7 deletions

View File

@@ -0,0 +1,11 @@
extends PlayerState
class_name PlayerGroundPound
@export var ground_pound_velocity = -35
func Enter():
character.velocity += Vector3(0,ground_pound_velocity,0)
func Physics_Update(delta):
if character.is_on_floor():
Transitioned.emit(self, "crouched")