40 lines
1.9 KiB
Plaintext
40 lines
1.9 KiB
Plaintext
[gd_scene load_steps=7 format=3 uid="uid://d3f8glx1xgm5w"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bl33klueufwja" path="res://assets/materials/pointer.png" id="1_2f2iv"]
|
|
[ext_resource type="Script" path="res://content/system/raycast/raycast.gd" id="1_gp8nv"]
|
|
[ext_resource type="Shader" path="res://content/system/raycast/raycast.gdshader" id="3_lpfe7"]
|
|
[ext_resource type="Texture2D" uid="uid://cy5dna78q6tn6" path="res://assets/models/ray/ray.png" id="4_fe8o8"]
|
|
[ext_resource type="ArrayMesh" uid="uid://d3kriab522o2w" path="res://assets/models/ray/ray.obj" id="5_3o4gy"]
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_ov0gt"]
|
|
render_priority = 0
|
|
shader = ExtResource("3_lpfe7")
|
|
shader_parameter/albedo = Color(1, 1, 1, 1)
|
|
shader_parameter/texture_albedo = ExtResource("4_fe8o8")
|
|
|
|
[node name="Raycast" type="RayCast3D"]
|
|
transform = Transform3D(0.999999, -1.39624e-11, 0, 9.48108e-12, 0.999999, 0, 0, 4.54747e-13, 0.999998, 0, 0, 0)
|
|
target_position = Vector3(0, 0, -5)
|
|
collision_mask = 19
|
|
debug_shape_custom_color = Color(0, 0, 0, 0)
|
|
script = ExtResource("1_gp8nv")
|
|
|
|
[node name="Decal" type="Decal" parent="."]
|
|
transform = Transform3D(1, -0.000567106, -2.5179e-05, -2.5179e-05, 4.39886e-08, -1, 0.000567106, 1, 2.97068e-08, -0.000308663, -0.00229502, -2.46601)
|
|
size = Vector3(0.02, 4.91995, 0.02)
|
|
texture_albedo = ExtResource("1_2f2iv")
|
|
upper_fade = 0.000985425
|
|
lower_fade = 0.000919435
|
|
|
|
[node name="Cursor" type="Node3D" parent="."]
|
|
|
|
[node name="CursorSprite" type="Sprite3D" parent="Cursor"]
|
|
transform = Transform3D(0.03, 2.71051e-20, 0, -5.42101e-20, 0.03, -2.03288e-21, -2.46521e-33, 2.5411e-21, 0.03, 0, 0, 0)
|
|
pixel_size = 0.001
|
|
texture = ExtResource("1_2f2iv")
|
|
|
|
[node name="Ray" type="MeshInstance3D" parent="."]
|
|
transform = Transform3D(1, -1.39624e-11, -6.10317e-19, 0, -4.37114e-08, 1, -1.39624e-11, -1, -4.37114e-08, 0, 0, -0.0182334)
|
|
material_override = SubResource("ShaderMaterial_ov0gt")
|
|
mesh = ExtResource("5_3o4gy")
|