ld: map and stairs
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://fxj0a6p5h6lm"]
|
||||
[gd_scene load_steps=3 format=3 uid="uid://fxj0a6p5h6lm"]
|
||||
|
||||
[ext_resource type="Material" uid="uid://31aulub2nqov" path="res://assets/greybox/m_greybox.tres" id="1_uvljb"]
|
||||
[ext_resource type="PackedScene" uid="uid://482s38k0yv35" path="res://maps/Components/stairs.tscn" id="2_3lq07"]
|
||||
|
||||
[node name="SmallSquareTower" type="CSGCombiner3D"]
|
||||
transform = Transform3D(0.707107, 0, -0.707107, 0, 1, 0, 0.707107, 0, 0.707107, 0, 0, 0)
|
||||
@ -34,3 +35,16 @@ transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0, 2,
|
||||
use_collision = true
|
||||
size = Vector3(0.5, 1, 5)
|
||||
material = ExtResource("1_uvljb")
|
||||
|
||||
[node name="CSGBox3D6" type="CSGBox3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.5, 2, -3.57628e-07)
|
||||
operation = 2
|
||||
use_collision = true
|
||||
size = Vector3(1.5, 1, 2.5)
|
||||
material = ExtResource("1_uvljb")
|
||||
|
||||
[node name="stairs2" parent="." instance=ExtResource("2_3lq07")]
|
||||
transform = Transform3D(-1, 0, 0, 0, 1, 0, 0, 0, -2.5935, 2.82843, 0.51, 0.000713646)
|
||||
|
||||
[node name="stairs3" parent="." instance=ExtResource("2_3lq07")]
|
||||
transform = Transform3D(-1, 0, 0, 0, 1, 0, 0, 0, -2.5935, 3.82843, -0.49, 0.000713646)
|
||||
|
13
maps/Components/stairs.tscn
Normal file
13
maps/Components/stairs.tscn
Normal file
@ -0,0 +1,13 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://482s38k0yv35"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dblmypced1fvv" path="res://assets/stairs/stairs.fbx" id="1_v7x20"]
|
||||
|
||||
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_ovbdw"]
|
||||
data = PackedVector3Array(0.5, 0, -0.5, -0.5, 0.25, -0.5, -0.5, 0, -0.5, -0.5, 0.25, -0.5, 0.5, 0, -0.5, -0.25, 0.25, -0.5, -0.25, 0.25, -0.5, 0.5, 0, -0.5, 0, 0.5, -0.5, -0.25, 0.25, -0.5, 0, 0.5, -0.5, -0.25, 0.5, -0.5, 0, 0.5, -0.5, 0.5, 0, -0.5, 0.5, 1, -0.5, 0, 0.5, -0.5, 0.5, 1, -0.5, 0.25, 0.75, -0.5, 0.25, 0.75, -0.5, 0.5, 1, -0.5, 0.25, 1, -0.5, 0, 0.5, -0.5, 0.25, 0.75, -0.5, 0, 0.75, -0.5, -0.5, 0.25, -0.5, -0.5, 0, 0.5, -0.5, 0, -0.5, -0.5, 0, 0.5, -0.5, 0.25, -0.5, -0.5, 0.25, 0.5, 0.5, 0, -0.5, -0.5, 0, 0.5, 0.5, 0, 0.5, -0.5, 0, 0.5, 0.5, 0, -0.5, -0.5, 0, -0.5, 0.5, 0, -0.5, 0.5, 1, 0.5, 0.5, 1, -0.5, 0.5, 1, 0.5, 0.5, 0, -0.5, 0.5, 0, 0.5, 0.5, 1, 0.5, 0.25, 1, -0.5, 0.5, 1, -0.5, 0.25, 1, -0.5, 0.5, 1, 0.5, 0.25, 1, 0.5, 0.5, 1, 0.5, 0.25, 0.75, 0.5, 0.25, 1, 0.5, 0.5, 1, 0.5, 0, 0.5, 0.5, 0.25, 0.75, 0.5, 0, 0.5, 0.5, 0, 0.75, 0.5, 0.25, 0.75, 0.5, 0.5, 0, 0.5, 0, 0.5, 0.5, 0.5, 1, 0.5, 0, 0.5, 0.5, 0.5, 0, 0.5, -0.5, 0, 0.5, 0, 0.5, 0.5, -0.5, 0, 0.5, -0.25, 0.25, 0.5, -0.5, 0, 0.5, -0.5, 0.25, 0.5, -0.25, 0.25, 0.5, -0.25, 0.25, 0.5, -0.25, 0.5, 0.5, 0, 0.5, 0.5, -0.25, 0.25, 0.5, -0.5, 0.25, -0.5, -0.25, 0.25, -0.5, -0.5, 0.25, -0.5, -0.25, 0.25, 0.5, -0.5, 0.25, 0.5, -0.25, 0.5, -0.5, -0.25, 0.25, 0.5, -0.25, 0.25, -0.5, -0.25, 0.25, 0.5, -0.25, 0.5, -0.5, -0.25, 0.5, 0.5, 0, 0.5, 0.5, -0.25, 0.5, -0.5, 0, 0.5, -0.5, -0.25, 0.5, -0.5, 0, 0.5, 0.5, -0.25, 0.5, 0.5, 0, 0.75, -0.5, 0, 0.5, 0.5, 0, 0.5, -0.5, 0, 0.5, 0.5, 0, 0.75, -0.5, 0, 0.75, 0.5, 0.25, 0.75, 0.5, 0, 0.75, -0.5, 0.25, 0.75, -0.5, 0, 0.75, -0.5, 0.25, 0.75, 0.5, 0, 0.75, 0.5, 0.25, 1, -0.5, 0.25, 0.75, 0.5, 0.25, 0.75, -0.5, 0.25, 0.75, 0.5, 0.25, 1, -0.5, 0.25, 1, 0.5)
|
||||
|
||||
[node name="stairs" instance=ExtResource("1_v7x20")]
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="." index="1"]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D" index="0"]
|
||||
shape = SubResource("ConcavePolygonShape3D_ovbdw")
|
Reference in New Issue
Block a user