diff options
Diffstat (limited to 'godot/scenes/worldprops/battery.tscn')
| -rw-r--r-- | godot/scenes/worldprops/battery.tscn | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/godot/scenes/worldprops/battery.tscn b/godot/scenes/worldprops/battery.tscn new file mode 100644 index 0000000..f21b4d9 --- /dev/null +++ b/godot/scenes/worldprops/battery.tscn @@ -0,0 +1,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 ) |
