X-Git-Url: http://git.purplebirdman.com/lightcycles.git/blobdiff_plain/caf59faf462f0ef16a3a2474040f4c577b941222..58e6e643ec796a676c4463b319b3cabb26f07f9d:/player/player_wall.tscn diff --git a/player/player_wall.tscn b/player/player_wall.tscn index 60918fb..3012a7f 100644 --- a/player/player_wall.tscn +++ b/player/player_wall.tscn @@ -1,23 +1,23 @@ [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://cp8pv6wya3ep2" path="res://textures/untextured.png" id="2_oiq6c"] +[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.1152, 0.8192, 0.96, 1) -albedo_texture = ExtResource("2_oiq6c") +albedo_color = Color(0.716296, 0.716296, 0.716296, 1) +albedo_texture = ExtResource("2_uvwff") emission_enabled = true -emission = Color(0.354498, 0.45596, 0.814702, 1) -emission_energy_multiplier = 1.44 +emission = Color(0.726732, 0.726732, 0.726732, 1) +emission_energy_multiplier = 0.25 uv1_triplanar = true uv1_world_triplanar = true [sub_resource type="BoxMesh" id="BoxMesh_p4d0s"] material = SubResource("StandardMaterial3D_sk1tc") -size = Vector3(1, 0.02, 1) +size = Vector3(1, 0.04, 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") @@ -27,6 +27,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")