From d3998186c9795f2a85148cd5bcfa1bd5b6226cfb Mon Sep 17 00:00:00 2001 From: Anson Bridges Date: Wed, 31 Aug 2022 00:26:34 -0700 Subject: Initialize repo --- scenes/environment/battery.tscn | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 scenes/environment/battery.tscn (limited to 'scenes/environment/battery.tscn') diff --git a/scenes/environment/battery.tscn b/scenes/environment/battery.tscn new file mode 100644 index 0000000..f21b4d9 --- /dev/null +++ b/scenes/environment/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 ) -- cgit v1.2.3