mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-20 00:03:48 +00:00
Fix for muzzle position
This commit is contained in:
parent
4b4cbc037a
commit
88fb08a451
2 changed files with 2 additions and 3 deletions
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
[ext_resource type="Script" path="res://Scripts/Weapon.cs" id="1_f5iec"]
|
||||
|
||||
[node name="Weapon" type="Sprite2D"]
|
||||
[node name="Weapon" type="Sprite2D" node_paths=PackedStringArray("Muzzle")]
|
||||
script = ExtResource("1_f5iec")
|
||||
Muzzle = NodePath("Muzzle")
|
||||
|
||||
[node name="Muzzle" type="Marker2D" parent="."]
|
||||
position = Vector2(5, 0)
|
||||
|
||||
[node name="ShootTimer" type="Timer" parent="."]
|
||||
one_shot = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue