How do i fix my gun to shoot all round me

i can’t get it to shoot right i need some help heres the code


the gun will not shoot a full one 260 and i head to add the bullet in so can i get some help

You should use:

PackedScene.instantiate()

  • create a instance of bullet
  • initialize it(position, others)
  • add as child/brother node

think you