Adding scene teleporter
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
[gd_scene load_steps=4 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://scenes/Interaction/scene_teleporter.gd" id="1_tele"]
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_tele"]
|
||||
height = 3.0
|
||||
radius = 1.5
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_tele"]
|
||||
transparency = 1
|
||||
shading_mode = 0
|
||||
albedo_color = Color(0.15, 0.95, 1, 0.25)
|
||||
emission_enabled = true
|
||||
emission = Color(0.1, 0.9, 1, 1)
|
||||
emission_energy_multiplier = 1.5
|
||||
|
||||
[sub_resource type="CylinderMesh" id="CylinderMesh_tele"]
|
||||
material = SubResource("StandardMaterial3D_tele")
|
||||
top_radius = 1.6
|
||||
bottom_radius = 1.6
|
||||
height = 3.0
|
||||
|
||||
[node name="SceneTeleporter" type="Area3D"]
|
||||
collision_layer = 2
|
||||
collision_mask = 1
|
||||
script = ExtResource("1_tele")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
shape = SubResource("CylinderShape3D_tele")
|
||||
|
||||
[node name="Visual" type="MeshInstance3D" parent="."]
|
||||
mesh = SubResource("CylinderMesh_tele")
|
||||
Reference in New Issue
Block a user