1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
[gd_scene load_steps=7 format=2]
[ext_resource path="res://world/obstacles/Rock.gd" type="Script" id=1]
[ext_resource path="res://world/chunk/helper/ChunkedMeshInstance.gd" type="Script" id=2]
[ext_resource path="res://world/obstacles/Rock_mesh.tres" type="PrismMesh" id=3]
[ext_resource path="res://world/obstacles/Rock_mat.tres" type="Material" id=4]
[sub_resource type="ConvexPolygonShape" id=2]
points = PoolVector3Array( 2.5, -5, 2.5, 2.5, -5, -2.5, -2.5, -5, -2.5, -2.5, -5, 2.5, 0, 5, 2.5, 0, 5, -2.5 )
[sub_resource type="CubeMesh" id=9]
size = Vector3( 5, 10, 5 )
[node name="Rock" type="StaticBody"]
collision_layer = 8
collision_mask = 0
script = ExtResource( 1 )
[node name="CollisionShape" type="CollisionShape" parent="."]
shape = SubResource( 2 )
[node name="MeshInstance" type="MeshInstance" parent="."]
visible = false
material_override = ExtResource( 4 )
script = ExtResource( 2 )
_mesh = ExtResource( 3 )
[node name="MeshInstance2" type="MeshInstance" parent="."]
visible = false
material_override = ExtResource( 4 )
script = ExtResource( 2 )
_mesh = SubResource( 9 )
|