bullets working better and detect collision better
still need to register hits with enemy targets and find contact point to leave bullet holes
This commit is contained in:
@@ -104,7 +104,7 @@ func shoot(delta):
|
||||
instance_bullet.bullet_force_mod = bullet_force_mod
|
||||
instance_bullet.instance_bullethole = bullethole.instantiate()
|
||||
instance_bullet.player_position = player.global_position
|
||||
get_tree().get_root().add_child(instance_bullet)
|
||||
get_tree().current_scene.add_child(instance_bullet)
|
||||
|
||||
# Casing transform
|
||||
var instance_casing = casing.instantiate()
|
||||
|
||||
Reference in New Issue
Block a user