Files
VR-Mess/scenes/teleport_marker.tscn
T

43 lines
1.2 KiB
Plaintext

[gd_scene load_steps=5 format=3]
[ext_resource type="Script" path="res://scripts/TeleportMarker.cs" id="1_marker"]
[sub_resource type="CylinderMesh" id="Mesh_disc"]
top_radius = 0.45
bottom_radius = 0.45
height = 0.02
[sub_resource type="CylinderMesh" id="Mesh_beam"]
top_radius = 0.03
bottom_radius = 0.03
height = 2.5
[sub_resource type="BoxShape3D" id="Shape_pick"]
size = Vector3(0.9, 2.5, 0.9)
[node name="TeleportMarker" type="Node3D"]
script = ExtResource("1_marker")
[node name="Disc" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.01, 0)
mesh = SubResource("Mesh_disc")
[node name="Beam" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.25, 0)
cast_shadow = 0
mesh = SubResource("Mesh_beam")
[node name="Label3D" type="Label3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.9, 0)
pixel_size = 0.004
billboard = 1
text = "1"
font_size = 128
outline_size = 24
[node name="Body" type="StaticBody3D" parent="."]
[node name="Shape" type="CollisionShape3D" parent="Body"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.25, 0)
shape = SubResource("Shape_pick")