updated to godot 4.6
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://difwo7wlyqr3h"]
|
||||
[gd_scene format=3 uid="uid://difwo7wlyqr3h"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://b7nargdyg28fj" path="res://Scenes/Weapons/weapon.tscn" id="1_s865l"]
|
||||
[ext_resource type="Script" uid="uid://bp3o5klntwmhd" path="res://Scripts/Weapons/hitscan_weapon.gd" id="2_nyich"]
|
||||
@@ -9,16 +9,16 @@ cull_mode = 1
|
||||
shading_mode = 0
|
||||
albedo_color = Color(1, 0, 0.415686, 0.223529)
|
||||
|
||||
[node name="HitscanWeapon" node_paths=PackedStringArray("raycast", "range_debug_indicator") instance=ExtResource("1_s865l")]
|
||||
[node name="HitscanWeapon" unique_id=373618795 node_paths=PackedStringArray("raycast", "range_debug_indicator") instance=ExtResource("1_s865l")]
|
||||
script = ExtResource("2_nyich")
|
||||
raycast = NodePath("RayCast3D")
|
||||
range_debug_indicator = NodePath("CSGSphere3D")
|
||||
|
||||
[node name="RayCast3D" type="RayCast3D" parent="." index="2"]
|
||||
[node name="RayCast3D" type="RayCast3D" parent="." index="2" unique_id=1750005362]
|
||||
target_position = Vector3(0, 0, -1)
|
||||
collision_mask = 4
|
||||
|
||||
[node name="CSGSphere3D" type="CSGSphere3D" parent="." index="3"]
|
||||
[node name="CSGSphere3D" type="CSGSphere3D" parent="." index="3" unique_id=2125239824]
|
||||
visible = false
|
||||
radius = 4.104
|
||||
radial_segments = 16
|
||||
|
||||
Reference in New Issue
Block a user