forked from unfa/liblast
Added helper shape to Spawnpoint scene, deleted when the game starts
parent
7e66d5d424
commit
059eaeda25
|
@ -0,0 +1,16 @@
|
|||
extends Position3D
|
||||
|
||||
|
||||
# Declare member variables here. Examples:
|
||||
# var a = 2
|
||||
# var b = "text"
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
$MeshInstance3D.queue_free()
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
#func _process(delta):
|
||||
# pass
|
|
@ -1,3 +1,20 @@
|
|||
[gd_scene format=3 uid="uid://n3ktc2gomi2p"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://n3ktc2gomi2p"]
|
||||
|
||||
[ext_resource type="Script" path="res://Assets/MapComponents/SpawnPoint.gd" id="1_gr60o"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_l6d77"]
|
||||
blend_mode = 1
|
||||
shading_mode = 0
|
||||
albedo_color = Color(0, 0.360784, 0.74902, 1)
|
||||
|
||||
[sub_resource type="CylinderMesh" id="CylinderMesh_xjekx"]
|
||||
material = SubResource( "StandardMaterial3D_l6d77" )
|
||||
top_radius = 0.0
|
||||
|
||||
[node name="SpawnPoint" type="Position3D"]
|
||||
script = ExtResource( "1_gr60o" )
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0)
|
||||
mesh = SubResource( "CylinderMesh_xjekx" )
|
||||
surface_material_override/0 = null
|
||||
|
|
Loading…
Reference in New Issue