fixed loading bug
This commit is contained in:
parent
4750befdfb
commit
5708cf5ea2
14 changed files with 421 additions and 98 deletions
1
Gun.gd
1
Gun.gd
|
@ -7,5 +7,4 @@ func shoot():
|
|||
var node = bullet.instantiate()
|
||||
node.global_position = global_position
|
||||
node.linear_velocity = Vector2(500, 0).rotated(global_rotation)
|
||||
print(node.linear_velocity)
|
||||
$/root/Node2D.add_child(node)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue