X-Git-Url: http://git.purplebirdman.com/lightcycles.git/blobdiff_plain/010b3d611cf1bfc9b1b0e715206b484844d5ad65..d9c42b6592d56cd8bf20cae59b2bf1d32219f9e0:/player/player_wall.tscn diff --git a/player/player_wall.tscn b/player/player_wall.tscn index ee9a0c7..dae979c 100644 --- a/player/player_wall.tscn +++ b/player/player_wall.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=4 format=3 uid="uid://6a20phajjwu8"] +[gd_scene load_steps=5 format=3 uid="uid://6a20phajjwu8"] [ext_resource type="Script" path="res://player/player_wall.gd" id="1_rj8im"] @@ -12,9 +12,17 @@ emission_energy_multiplier = 1.44 material = SubResource("StandardMaterial3D_sk1tc") size = Vector3(1, 0.01, 1) +[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_71bu6"] +data = PackedVector3Array(-0.5, 0.005, 0.5, 0.5, 0.005, 0.5, -0.5, -0.005, 0.5, 0.5, 0.005, 0.5, 0.5, -0.005, 0.5, -0.5, -0.005, 0.5, 0.5, 0.005, -0.5, -0.5, 0.005, -0.5, 0.5, -0.005, -0.5, -0.5, 0.005, -0.5, -0.5, -0.005, -0.5, 0.5, -0.005, -0.5, 0.5, 0.005, 0.5, 0.5, 0.005, -0.5, 0.5, -0.005, 0.5, 0.5, 0.005, -0.5, 0.5, -0.005, -0.5, 0.5, -0.005, 0.5, -0.5, 0.005, -0.5, -0.5, 0.005, 0.5, -0.5, -0.005, -0.5, -0.5, 0.005, 0.5, -0.5, -0.005, 0.5, -0.5, -0.005, -0.5, 0.5, 0.005, 0.5, -0.5, 0.005, 0.5, 0.5, 0.005, -0.5, -0.5, 0.005, 0.5, -0.5, 0.005, -0.5, 0.5, 0.005, -0.5, -0.5, -0.005, 0.5, 0.5, -0.005, 0.5, -0.5, -0.005, -0.5, 0.5, -0.005, 0.5, 0.5, -0.005, -0.5, -0.5, -0.005, -0.5) + [node name="PlayerWall" type="Node3D"] script = ExtResource("1_rj8im") [node name="MeshInstance3D" type="MeshInstance3D" parent="."] transform = Transform3D(-4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0, 1, 0, 0, 0.5) mesh = SubResource("BoxMesh_p4d0s") + +[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D"] + +[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/StaticBody3D"] +shape = SubResource("ConcavePolygonShape3D_71bu6")