bullets and hitscan
This commit is contained in:
parent
08d0859728
commit
eaa487f16a
11 changed files with 60 additions and 1 deletions
10
base/scenes/projectiles/hitscan.tscn
Normal file
10
base/scenes/projectiles/hitscan.tscn
Normal file
|
@ -0,0 +1,10 @@
|
|||
[gd_scene load_steps=2 format=3 uid="uid://c0rimfst01gsx"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://coayruqnqqvdn" path="res://base/scripts/projectiles/hitscan.gd" id="1_fkkr2"]
|
||||
|
||||
[node name="Hitscan" type="RayCast3D"]
|
||||
target_position = Vector3(0, 0, 1000)
|
||||
collision_mask = 4
|
||||
hit_from_inside = true
|
||||
collide_with_areas = true
|
||||
script = ExtResource("1_fkkr2")
|
Loading…
Add table
Add a link
Reference in a new issue