edited pokey collision a lil bit

This commit is contained in:
JHDev2006
2025-09-26 14:46:10 +01:00
parent 578655553a
commit 53dc4923a0

View File

@@ -10,8 +10,8 @@ func _physics_process(delta: float) -> void:
func handle_collision() -> void:
$HeadHitbox.position.y = (-length * 16) + 8
$Collision.shape.size.y = (length * 16)
$Collision.position.y = (-length * 8)
$Collision.shape.size.y = (length * 16) - 2
$Collision.position.y = -$Collision.shape.size.y / 2
$BodyHitbox.position.y = $Collision.position.y
func handle_part_animation(delta: float) -> void: