immersive-home/app/content/system/raycast/raycast.tscn

40 lines
1.9 KiB
Plaintext
Raw Normal View History

2024-03-21 11:51:58 +02:00
[gd_scene load_steps=7 format=3 uid="uid://dscp8x0ari57n"]
2023-11-22 02:44:07 +02:00
[ext_resource type="Texture2D" uid="uid://bl33klueufwja" path="res://assets/materials/pointer.png" id="1_2f2iv"]
2023-11-22 02:44:07 +02:00
[ext_resource type="Script" path="res://content/system/raycast/raycast.gd" id="1_gp8nv"]
2024-03-17 19:04:20 +02:00
[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")
2023-11-22 02:44:07 +02:00
[node name="Raycast" type="RayCast3D"]
2024-03-17 19:04:20 +02:00
transform = Transform3D(0.999999, -1.39624e-11, 0, 9.48108e-12, 0.999999, 0, 0, 4.54747e-13, 0.999998, 0, 0, 0)
2023-11-22 02:44:07 +02:00
target_position = Vector3(0, 0, -5)
2023-11-28 16:14:21 +02:00
collision_mask = 19
2024-03-17 19:04:20 +02:00
debug_shape_custom_color = Color(0, 0, 0, 0)
2023-11-22 02:44:07 +02:00
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
2023-11-26 14:48:27 +02:00
[node name="Cursor" type="Node3D" parent="."]
[node name="CursorSprite" type="Sprite3D" parent="Cursor"]
2023-11-27 01:23:19 +02:00
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)
2023-11-26 14:48:27 +02:00
pixel_size = 0.001
texture = ExtResource("1_2f2iv")
2024-03-17 19:04:20 +02:00
[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")