generated from krampus/template-godot4
Added collisions on cargo bay door
This commit is contained in:
parent
09f48c8ae0
commit
6647868d82
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=29 format=3 uid="uid://c2k0x1dp527n1"]
|
||||
[gd_scene load_steps=30 format=3 uid="uid://c2k0x1dp527n1"]
|
||||
|
||||
[ext_resource type="ArrayMesh" uid="uid://bumwpsm42csme" path="res://assets/level/ceiling/ceiling_9x9.mesh" id="1_20lab"]
|
||||
[ext_resource type="PackedScene" uid="uid://cdi5sl60mw1po" path="res://src/world/gunkable/gunkable.tscn" id="2_jd3pc"]
|
||||
@ -43,6 +43,9 @@ texture_filter = 2
|
||||
material = SubResource("StandardMaterial3D_sqa4l")
|
||||
size = Vector3(9, 6, 0.2)
|
||||
|
||||
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_fopii"]
|
||||
points = PackedVector3Array(4.5, 3, 0.1, 4.5, 3, -0.1, -4.5, 3, 0.1, 4.5, -3, 0.1, 4.5, -3, -0.1, -4.5, 3, -0.1, -4.5, -3, 0.1, -4.5, -3, -0.1)
|
||||
|
||||
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_s2uxq"]
|
||||
data = PackedVector3Array(1.5, 0, 1.5, -1.5, 0, 1.5, 1.5, 0, -1.5, 1.5, 0, -1.5, -1.5, 0, 1.5, -1.5, 0, -1.5)
|
||||
|
||||
@ -805,6 +808,11 @@ source_gunk_material = ExtResource("6_d0c5k")
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, 10.5)
|
||||
mesh = SubResource("BoxMesh_dly4i")
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="LoadingDock/Bounds/BayDoor"]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="LoadingDock/Bounds/BayDoor/StaticBody3D"]
|
||||
shape = SubResource("ConvexPolygonShape3D_fopii")
|
||||
|
||||
[node name="Elevator" parent="LoadingDock" instance=ExtResource("12_18p4i")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -10.5)
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
{"id":"bbfc75ce368543fc","type":"file","file":"level/player ship.md","x":-957,"y":-320,"width":320,"height":400},
|
||||
{"id":"55780df8c38e6693","type":"file","file":"level/cargo bay.md","x":0,"y":-1402,"width":391,"height":350},
|
||||
{"id":"1800ef4d498a530f","type":"file","file":"level/ops center.md","x":-300,"y":-2160,"width":300,"height":396},
|
||||
{"id":"f92e4ff7439ba3b9","x":-1304,"y":-2080,"width":246,"height":50,"type":"text","text":"# THE GURKN"}
|
||||
{"id":"f92e4ff7439ba3b9","type":"text","text":"# HK-409 DOGTOOTH","x":-1304,"y":-2080,"width":244,"height":80}
|
||||
],
|
||||
"edges":[
|
||||
{"id":"f88a68cbe1935f27","fromNode":"bbfc75ce368543fc","fromSide":"top","toNode":"be3415e76c0603f6","toSide":"bottom","toEnd":"none"},
|
||||
|
Loading…
x
Reference in New Issue
Block a user