hide hud on pause and dead camera

This commit is contained in:
derek
2024-10-31 15:20:49 -05:00
parent 1b55bb993d
commit ec63e57c62
8 changed files with 104 additions and 55 deletions

View File

@@ -55,6 +55,7 @@ func explode():
body.linear_velocity += blast_velocity
if body.is_in_group("player"):
body.velocity += clamp(blast_velocity,Vector3(-7,-7,-7),Vector3(7,7,7))
body.recoil.add_recoil(Vector3(1,.1,.1),10,10)
if body.is_in_group("enemy"):
body.knocked = true
body.stunned = true