mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-01 14:41:16 +00:00
Preliminary lasers
This commit is contained in:
parent
3a7fd66193
commit
7cb5bfb593
20 changed files with 1779 additions and 1049 deletions
14
addons/laser/laser.tscn
Normal file
14
addons/laser/laser.tscn
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[gd_scene load_steps=2 format=3 uid="uid://cdxjy1yy8tqeu"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cuwmjh8siacg1" path="res://addons/laser/laser.gd" id="1_xyxma"]
|
||||
|
||||
[node name="Node3D" type="Node3D"]
|
||||
script = ExtResource("1_xyxma")
|
||||
|
||||
[node name="Laser" type="RayCast3D" parent="."]
|
||||
target_position = Vector3(1, 1, 2.08165e-12)
|
||||
collision_mask = 7
|
||||
|
||||
[node name="Beams" type="Node3D" parent="."]
|
||||
|
||||
[node name="Splits" type="Node3D" parent="."]
|
||||
Loading…
Add table
Add a link
Reference in a new issue