Y-wing update, target validation and tabbycode testing

This commit is contained in:
zerothelootrat
2024-07-06 04:58:09 -04:00
parent d2dc132952
commit ded7b514b7
2 changed files with 3 additions and 1 deletions

View File

@@ -51,7 +51,6 @@ offset = Vector2(0, 5.2)
position = Vector2(0, 21)
[node name="target_confirm" type="RayCast2D" parent="Turret"]
position = Vector2(0, -1)
target_position = Vector2(-1, 873)
collision_mask = 11
collide_with_areas = true

View File

@@ -108,7 +108,10 @@ func aim_turret(delta):
target_area = target_pos
func fire_turret(location,firing_solution,target_area):
get_tree().current_scene.firey_wingturret(location,firing_solution,target_area)
var test = $Turret/target_confirm.to_global(Vector2(0,0))
#print(str(location))
#print(str(firing_solution))
#print(str(target_area))