X-Git-Url: http://git.purplebirdman.com/lightcycles.git/blobdiff_plain/50bbcd345ad197834435d5a7aa375d8f41b3e8e8..aab1f026a413252dfe84fc0df333c75977d3bc0a:/player/player_wall.tscn diff --git a/player/player_wall.tscn b/player/player_wall.tscn index 727f473..4493031 100644 --- a/player/player_wall.tscn +++ b/player/player_wall.tscn @@ -1,9 +1,11 @@ -[gd_scene load_steps=5 format=3 uid="uid://6a20phajjwu8"] +[gd_scene load_steps=6 format=3 uid="uid://6a20phajjwu8"] [ext_resource type="Script" path="res://player/player_wall.gd" id="1_rj8im"] +[ext_resource type="Texture2D" uid="uid://cewcflr88mwxq" path="res://textures/untextured2.png" id="2_uvwff"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_sk1tc"] albedo_color = Color(0.716296, 0.716296, 0.716296, 1) +albedo_texture = ExtResource("2_uvwff") emission = Color(0.726732, 0.726732, 0.726732, 1) uv1_triplanar = true uv1_world_triplanar = true @@ -12,8 +14,8 @@ uv1_world_triplanar = true material = SubResource("StandardMaterial3D_sk1tc") size = Vector3(1, 0.02, 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) +[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_aaxpr"] +points = PackedVector3Array(0.508, 0.014, 0.5, -0.508, -0.018, -0.5, -0.508, 0.014, -0.5, 0.508, -0.018, -0.5, -0.508, -0.018, 0.5, -0.508, 0.014, 0.5, 0.508, 0.014, -0.5, 0.508, -0.018, 0.5) [node name="PlayerWall" type="Node3D"] script = ExtResource("1_rj8im") @@ -23,6 +25,14 @@ transform = Transform3D(-4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0, 1, 0, 0, mesh = SubResource("BoxMesh_p4d0s") [node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D"] +collision_layer = 2 +collision_mask = 2 +axis_lock_linear_x = true +axis_lock_linear_y = true +axis_lock_linear_z = true +axis_lock_angular_x = true +axis_lock_angular_y = true +axis_lock_angular_z = true [node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/StaticBody3D"] -shape = SubResource("ConcavePolygonShape3D_71bu6") +shape = SubResource("ConvexPolygonShape3D_aaxpr")