summaryrefslogtreecommitdiff
path: root/scenes/environment/battery.tscn
blob: f21b4d922fe2e6acb01a2c4364f71766e015275f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[gd_scene load_steps=5 format=2]

[ext_resource path="res://textures/conc_slabs01_c.png" type="Texture" id=1]

[sub_resource type="ConvexPolygonShape" id=12]
points = PoolVector3Array( -5, -1.5, -2.5, -5, 1.5, -2.5, 5, -1.5, -2.5, -5, -1.5, 2.5, -5, 1.5, 2.5, 5, 1.5, -2.5, 5, -1.5, 2.5, 5, 1.5, 2.5 )

[sub_resource type="SpatialMaterial" id=10]
albedo_texture = ExtResource( 1 )

[sub_resource type="CubeMesh" id=11]
material = SubResource( 10 )
size = Vector3( 10, 3, 5 )

[node name="battery" type="StaticBody"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.29514, -11.0669 )

[node name="CollisionShape" type="CollisionShape" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.35175, 0 )
shape = SubResource( 12 )

[node name="MeshInstance" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.35175, 0 )
mesh = SubResource( 11 )