]> Untitled Git - lightcycles.git/blob - player/player_wall.tscn
bca3ea17a6b563e69fde67c89254344fa14b6372
[lightcycles.git] / player / player_wall.tscn
1 [gd_scene load_steps=5 format=3 uid="uid://6a20phajjwu8"]
2
3 [ext_resource type="Script" path="res://player/player_wall.gd" id="1_rj8im"]
4
5 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_sk1tc"]
6 albedo_color = Color(0.716296, 0.716296, 0.716296, 1)
7 emission = Color(0.726732, 0.726732, 0.726732, 1)
8 uv1_triplanar = true
9 uv1_world_triplanar = true
10
11 [sub_resource type="BoxMesh" id="BoxMesh_p4d0s"]
12 material = SubResource("StandardMaterial3D_sk1tc")
13 size = Vector3(1, 0.02, 1)
14
15 [sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_aaxpr"]
16 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)
17
18 [node name="PlayerWall" type="Node3D"]
19 script = ExtResource("1_rj8im")
20
21 [node name="MeshInstance3D" type="MeshInstance3D" parent="."]
22 transform = Transform3D(-4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0, 1, 0, 0, 0.5)
23 mesh = SubResource("BoxMesh_p4d0s")
24
25 [node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D"]
26 collision_layer = 2
27 collision_mask = 2
28 axis_lock_linear_x = true
29 axis_lock_linear_y = true
30 axis_lock_linear_z = true
31 axis_lock_angular_x = true
32 axis_lock_angular_y = true
33 axis_lock_angular_z = true
34
35 [node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/StaticBody3D"]
36 shape = SubResource("ConvexPolygonShape3D_aaxpr")