minor tweaks and fixed barrel explosion

This commit is contained in:
Derek
2024-12-12 23:46:36 -06:00
parent 90fa39ca4a
commit b6a9e9a112
12 changed files with 308 additions and 50 deletions

View File

@@ -67,7 +67,7 @@ func _physics_process(delta):
leakspawn.rotation.z = deg_to_rad(randf_range(0,360))
if body.is_in_group("switch"):
body.hit()
body.hit(bullet_damage)
if body.is_in_group("breakable"):
var current_velocity = transform.basis * Vector3(0,0,-1 * bullet_force_mod)