[gd_scene load_steps=18 format=2] [ext_resource path="res://car.tscn" type="PackedScene" id=1] [ext_resource path="res://ball.tscn" type="PackedScene" id=2] [ext_resource path="res://grass_24.bmp" type="Texture" id=3] [ext_resource path="res://game.gd" type="Script" id=4] [sub_resource type="CubeMesh" id=16] size = Vector3( 45, 2, 300 ) [sub_resource type="ConcavePolygonShape" id=18] data = PoolVector3Array( -22.5, 1, 150, 22.5, 1, 150, -22.5, -1, 150, 22.5, 1, 150, 22.5, -1, 150, -22.5, -1, 150, 22.5, 1, -150, -22.5, 1, -150, 22.5, -1, -150, -22.5, 1, -150, -22.5, -1, -150, 22.5, -1, -150, 22.5, 1, 150, 22.5, 1, -150, 22.5, -1, 150, 22.5, 1, -150, 22.5, -1, -150, 22.5, -1, 150, -22.5, 1, -150, -22.5, 1, 150, -22.5, -1, -150, -22.5, 1, 150, -22.5, -1, 150, -22.5, -1, -150, 22.5, 1, 150, -22.5, 1, 150, 22.5, 1, -150, -22.5, 1, 150, -22.5, 1, -150, 22.5, 1, -150, -22.5, -1, 150, 22.5, -1, 150, -22.5, -1, -150, 22.5, -1, 150, 22.5, -1, -150, -22.5, -1, -150 ) [sub_resource type="SpatialMaterial" id=23] flags_transparent = true [sub_resource type="CubeMesh" id=22] material = SubResource( 23 ) size = Vector3( 2, 200, 300 ) [sub_resource type="ConcavePolygonShape" id=24] data = PoolVector3Array( -1, 100, 150, 1, 100, 150, -1, -100, 150, 1, 100, 150, 1, -100, 150, -1, -100, 150, 1, 100, -150, -1, 100, -150, 1, -100, -150, -1, 100, -150, -1, -100, -150, 1, -100, -150, 1, 100, 150, 1, 100, -150, 1, -100, 150, 1, 100, -150, 1, -100, -150, 1, -100, 150, -1, 100, -150, -1, 100, 150, -1, -100, -150, -1, 100, 150, -1, -100, 150, -1, -100, -150, 1, 100, 150, -1, 100, 150, 1, 100, -150, -1, 100, 150, -1, 100, -150, 1, 100, -150, -1, -100, 150, 1, -100, 150, -1, -100, -150, 1, -100, 150, 1, -100, -150, -1, -100, -150 ) [sub_resource type="CubeMesh" id=14] size = Vector3( 45, 2, 300 ) [sub_resource type="ConcavePolygonShape" id=19] data = PoolVector3Array( -22.5, 1, 150, 22.5, 1, 150, -22.5, -1, 150, 22.5, 1, 150, 22.5, -1, 150, -22.5, -1, 150, 22.5, 1, -150, -22.5, 1, -150, 22.5, -1, -150, -22.5, 1, -150, -22.5, -1, -150, 22.5, -1, -150, 22.5, 1, 150, 22.5, 1, -150, 22.5, -1, 150, 22.5, 1, -150, 22.5, -1, -150, 22.5, -1, 150, -22.5, 1, -150, -22.5, 1, 150, -22.5, -1, -150, -22.5, 1, 150, -22.5, -1, 150, -22.5, -1, -150, 22.5, 1, 150, -22.5, 1, 150, 22.5, 1, -150, -22.5, 1, 150, -22.5, 1, -150, 22.5, 1, -150, -22.5, -1, 150, 22.5, -1, 150, -22.5, -1, -150, 22.5, -1, 150, 22.5, -1, -150, -22.5, -1, -150 ) [sub_resource type="CubeMesh" id=1] size = Vector3( 45, 1, 200 ) [sub_resource type="ConcavePolygonShape" id=20] data = PoolVector3Array( -22.5, 0.5, 100, 22.5, 0.5, 100, -22.5, -0.5, 100, 22.5, 0.5, 100, 22.5, -0.5, 100, -22.5, -0.5, 100, 22.5, 0.5, -100, -22.5, 0.5, -100, 22.5, -0.5, -100, -22.5, 0.5, -100, -22.5, -0.5, -100, 22.5, -0.5, -100, 22.5, 0.5, 100, 22.5, 0.5, -100, 22.5, -0.5, 100, 22.5, 0.5, -100, 22.5, -0.5, -100, 22.5, -0.5, 100, -22.5, 0.5, -100, -22.5, 0.5, 100, -22.5, -0.5, -100, -22.5, 0.5, 100, -22.5, -0.5, 100, -22.5, -0.5, -100, 22.5, 0.5, 100, -22.5, 0.5, 100, 22.5, 0.5, -100, -22.5, 0.5, 100, -22.5, 0.5, -100, 22.5, 0.5, -100, -22.5, -0.5, 100, 22.5, -0.5, 100, -22.5, -0.5, -100, 22.5, -0.5, 100, 22.5, -0.5, -100, -22.5, -0.5, -100 ) [sub_resource type="ConcavePolygonShape" id=21] data = PoolVector3Array( -22.5, 0.5, 100, 22.5, 0.5, 100, -22.5, -0.5, 100, 22.5, 0.5, 100, 22.5, -0.5, 100, -22.5, -0.5, 100, 22.5, 0.5, -100, -22.5, 0.5, -100, 22.5, -0.5, -100, -22.5, 0.5, -100, -22.5, -0.5, -100, 22.5, -0.5, -100, 22.5, 0.5, 100, 22.5, 0.5, -100, 22.5, -0.5, 100, 22.5, 0.5, -100, 22.5, -0.5, -100, 22.5, -0.5, 100, -22.5, 0.5, -100, -22.5, 0.5, 100, -22.5, -0.5, -100, -22.5, 0.5, 100, -22.5, -0.5, 100, -22.5, -0.5, -100, 22.5, 0.5, 100, -22.5, 0.5, 100, 22.5, 0.5, -100, -22.5, 0.5, 100, -22.5, 0.5, -100, 22.5, 0.5, -100, -22.5, -0.5, 100, 22.5, -0.5, 100, -22.5, -0.5, -100, 22.5, -0.5, 100, 22.5, -0.5, -100, -22.5, -0.5, -100 ) [sub_resource type="SpatialMaterial" id=13] albedo_texture = ExtResource( 3 ) [sub_resource type="CubeMesh" id=7] material = SubResource( 13 ) size = Vector3( 200, 1, 300 ) [sub_resource type="ConcavePolygonShape" id=17] data = PoolVector3Array( -100, 0.5, 150, 100, 0.5, 150, -100, -0.5, 150, 100, 0.5, 150, 100, -0.5, 150, -100, -0.5, 150, 100, 0.5, -150, -100, 0.5, -150, 100, -0.5, -150, -100, 0.5, -150, -100, -0.5, -150, 100, -0.5, -150, 100, 0.5, 150, 100, 0.5, -150, 100, -0.5, 150, 100, 0.5, -150, 100, -0.5, -150, 100, -0.5, 150, -100, 0.5, -150, -100, 0.5, 150, -100, -0.5, -150, -100, 0.5, 150, -100, -0.5, 150, -100, -0.5, -150, 100, 0.5, 150, -100, 0.5, 150, 100, 0.5, -150, -100, 0.5, 150, -100, 0.5, -150, 100, 0.5, -150, -100, -0.5, 150, 100, -0.5, 150, -100, -0.5, -150, 100, -0.5, 150, 100, -0.5, -150, -100, -0.5, -150 ) [node name="game" type="Spatial"] script = ExtResource( 4 ) [node name="MeshInstance" type="MeshInstance" parent="."] transform = Transform( -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 0, 0, 1, 100, 23, 0 ) mesh = SubResource( 16 ) material/0 = null [node name="StaticBody" type="StaticBody" parent="MeshInstance"] [node name="CollisionShape" type="CollisionShape" parent="MeshInstance/StaticBody"] shape = SubResource( 18 ) [node name="MeshInstance5" type="MeshInstance" parent="."] transform = Transform( -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 0, 0, 1, 0, 45, 0 ) mesh = SubResource( 22 ) material/0 = null [node name="StaticBody" type="StaticBody" parent="MeshInstance5"] [node name="CollisionShape" type="CollisionShape" parent="MeshInstance5/StaticBody"] shape = SubResource( 24 ) [node name="MeshInstance4" type="MeshInstance" parent="."] transform = Transform( -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 0, 0, 1, -100, 23, -1 ) mesh = SubResource( 14 ) material/0 = null [node name="StaticBody" type="StaticBody" parent="MeshInstance4"] [node name="CollisionShape" type="CollisionShape" parent="MeshInstance4/StaticBody"] shape = SubResource( 19 ) [node name="MeshInstance2" type="MeshInstance" parent="."] transform = Transform( 7.12149e-15, 4.37114e-08, -1, 1, -1.62921e-07, 0, -1.62921e-07, -1, -4.37114e-08, 0, 23, -150 ) mesh = SubResource( 1 ) material/0 = null [node name="StaticBody" type="StaticBody" parent="MeshInstance2"] [node name="CollisionShape" type="CollisionShape" parent="MeshInstance2/StaticBody"] shape = SubResource( 20 ) [node name="MeshInstance3" type="MeshInstance" parent="."] transform = Transform( 7.12149e-15, 4.37114e-08, -1, 1, -1.62921e-07, 0, -1.62921e-07, -1, -4.37114e-08, 0, 23, 150 ) mesh = SubResource( 1 ) material/0 = null [node name="StaticBody" type="StaticBody" parent="MeshInstance3"] [node name="CollisionShape" type="CollisionShape" parent="MeshInstance3/StaticBody"] shape = SubResource( 21 ) [node name="ground" type="MeshInstance" parent="."] mesh = SubResource( 7 ) material/0 = null [node name="StaticBody" type="StaticBody" parent="ground"] [node name="CollisionShape" type="CollisionShape" parent="ground/StaticBody"] shape = SubResource( 17 ) [node name="car" parent="." instance=ExtResource( 1 )] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -4 ) continuous_cd = true [node name="ball" parent="." instance=ExtResource( 2 )] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 6.05547, 6.1003 ) [node name="DirectionalLight" type="DirectionalLight" parent="."] transform = Transform( 1, 0, 0, 0, -0.534087, 0.84543, 0, -0.84543, -0.534087, -45.9835, 32.3876, 38.4155 ) shadow_enabled = true