updated to godot3

This commit is contained in:
Otto Naderer 2022-10-15 19:37:05 +02:00
parent ec8e34b520
commit aa60d84dd3
27 changed files with 1321 additions and 420 deletions

2
.gitattributes vendored Normal file
View File

@ -0,0 +1,2 @@
*.png filter=lfs diff=lfs merge=lfs -text
*.blend filter=lfs diff=lfs merge=lfs -text

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
icon.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 129 B

View File

@ -1,84 +1,34 @@
[gd_scene load_steps=3 format=1]
[gd_scene load_steps=6 format=2]
[ext_resource path="res://tank-base.tscn" type="PackedScene" id=1]
[ext_resource path="res://icon.png" type="Texture" id=2]
[sub_resource type="BoxShape" id=1]
[sub_resource type="PlaneShape" id=1]
extents = Vector3( 1, 1, 1 )
[sub_resource type="PlaneMesh" id=2]
size = Vector2( 2000, 2000 )
subdivide_width = 10
subdivide_depth = 10
[sub_resource type="SpatialMaterial" id=3]
albedo_texture = ExtResource( 2 )
uv1_scale = Vector3( 2000, 2000, 1 )
[node name="Spatial" type="Spatial"]
_import_transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
transform/local = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.14667, 0 )
[node name="Ground" type="StaticBody" parent="."]
[node name="TestCube" type="TestCube" parent="."]
_import_transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
transform/local = Transform( 100, 0, 0, 0, 0.1, 0, 0, 0, 100, 0.205964, -2.65457, 0.0438108 )
layers = 1
geometry/visible = true
geometry/material_override = null
geometry/cast_shadow = 1
geometry/receive_shadows = true
geometry/range_begin = 0.0
geometry/range_end = 0.0
geometry/extra_cull_margin = 0.0
geometry/billboard = false
geometry/billboard_y = false
geometry/depth_scale = false
geometry/visible_in_all_rooms = false
geometry/use_baked_light = false
geometry/baked_light_tex_id = 0
[node name="StaticBody" type="StaticBody" parent="TestCube"]
_import_transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
input/ray_pickable = true
input/capture_on_drag = false
shape_count = 1
shapes/0/shape = SubResource( 1 )
shapes/0/transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
shapes/0/trigger = false
collision/layers = 1
collision/mask = 1
friction = 1.0
bounce = 0.0
constant_linear_velocity = Vector3( 0, 0, 0 )
constant_angular_velocity = Vector3( 0, 0, 0 )
[node name="CollisionShape" type="CollisionShape" parent="TestCube/StaticBody"]
_import_transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
[node name="CollisionShape" type="CollisionShape" parent="Ground"]
shape = SubResource( 1 )
trigger = false
_update_shape_index = 0
[node name="Spatial" parent="." instance=ExtResource( 1 )]
[node name="MeshInstance" type="MeshInstance" parent="Ground"]
mesh = SubResource( 2 )
material/0 = SubResource( 3 )
transform/local = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.758261, 0 )
[node name="DirectionalLight" type="DirectionalLight" parent="."]
_import_transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
transform/local = Transform( 0.652077, 0.610151, -0.450013, 0, 0.593565, 0.804786, 0.758153, -0.524783, 0.38705, 0, 35.4294, 55.5707 )
layers = 1
params/enabled = true
params/editor_only = false
params/bake_mode = 0
params/energy = 1.0
colors/diffuse = Color( 1, 1, 1, 1 )
colors/specular = Color( 1, 1, 1, 1 )
shadow/shadow = true
shadow/darkening = 0.0
shadow/z_offset = 0.05
shadow/z_slope_scale = 0.0
shadow/esm_multiplier = 60.0
shadow/blur_passes = 1.0
projector = null
operator = 0
shadow/mode = 0
shadow/max_distance = 0.0
shadow/split_weight = 0.5
shadow/zoffset_scale = 2.0
[node name="Sun" type="DirectionalLight" parent="."]
transform = Transform( -1, 0, -8.74228e-08, -5.82212e-08, 0.745976, 0.665973, 6.52153e-08, 0.665973, -0.745976, 0, 2.57678, 0 )
directional_shadow_max_distance = 200.0
[node name="Tank" type="Spatial" parent="."]
[node name="Spatial" parent="Tank" instance=ExtResource( 1 )]

10
models/tbody.mtl Normal file
View File

@ -0,0 +1,10 @@
# Blender MTL File: 'tbody.blend'
# Material Count: 1
newmtl None
Ns 0
Ka 0.000000 0.000000 0.000000
Kd 0.8 0.8 0.8
Ks 0.8 0.8 0.8
d 1
illum 2

62
models/tbody.obj Normal file
View File

@ -0,0 +1,62 @@
# Blender v2.79 (sub 0) OBJ File: 'tbody.blend'
# www.blender.org
mtllib tbody.mtl
o Cube_Cube.001
v -2.500000 -0.250000 1.000000
v -2.500000 0.250000 1.000000
v -2.500000 -0.250000 -1.000000
v -2.500000 0.250000 -1.000000
v 2.500000 -0.250000 1.000000
v 2.500000 0.250000 1.000000
v 2.500000 -0.250000 -1.000000
v 2.500000 0.250000 -1.000000
v -2.192688 0.520238 0.877075
v -2.192688 0.520238 -0.877075
v 1.421374 0.520238 -0.877075
v 1.421374 0.520238 0.877075
v -2.041270 -0.650746 -0.492693
v -2.041270 -0.650746 0.490147
v 1.624204 -0.650746 -0.492693
v 1.624204 -0.650746 0.490147
v 2.719936 0.110699 -0.442797
v 2.719936 -0.110699 -0.442797
v 2.719936 -0.110699 0.442797
v 2.719936 0.110699 0.442797
vn -1.0000 0.0000 0.0000
vn 0.0000 0.0000 -1.0000
vn 0.9302 0.0000 0.3671
vn 0.0000 0.0000 1.0000
vn -0.6579 -0.7531 0.0000
vn -0.6604 0.7510 0.0000
vn 0.0000 1.0000 0.0000
vn 0.0000 0.4141 0.9103
vn 0.0000 0.4141 -0.9103
vn 0.2430 0.9700 0.0000
vn 0.0000 -1.0000 0.0000
vn 0.4161 -0.9093 0.0000
vn 0.0000 -0.7862 0.6180
vn 0.0000 -0.7847 -0.6199
vn 1.0000 0.0000 0.0000
vn 0.5351 -0.8448 0.0000
vn 0.5351 0.8448 0.0000
vn 0.9302 0.0000 -0.3671
usemtl None
s off
f 1//1 2//1 4//1 3//1
f 3//2 4//2 8//2 7//2
f 6//3 5//3 19//3 20//3
f 5//4 6//4 2//4 1//4
f 1//5 3//5 13//5 14//5
f 4//6 2//6 9//6 10//6
f 11//7 10//7 9//7 12//7
f 2//8 6//8 12//8 9//8
f 8//9 4//9 10//9 11//9
f 6//10 8//10 11//10 12//10
f 13//11 15//11 16//11 14//11
f 7//12 5//12 16//12 15//12
f 5//13 1//13 14//13 16//13
f 3//14 7//14 15//14 13//14
f 18//15 17//15 20//15 19//15
f 5//16 7//16 18//16 19//16
f 8//17 6//17 20//17 17//17
f 7//18 8//18 17//18 18//18

10
models/tcannon.mtl Normal file
View File

@ -0,0 +1,10 @@
# Blender MTL File: 'tbody.blend'
# Material Count: 1
newmtl None
Ns 0
Ka 0.000000 0.000000 0.000000
Kd 0.8 0.8 0.8
Ks 0.8 0.8 0.8
d 1
illum 2

138
models/tcannon.obj Normal file
View File

@ -0,0 +1,138 @@
# Blender v2.78 (sub 0) OBJ File: 'tbody.blend'
# www.blender.org
mtllib tcannon.mtl
o Cylinder.001
v -0.000000 0.000000 0.100000
v -2.517020 0.005956 0.110753
v 0.000000 -0.019509 0.098078
v -2.517020 -0.013553 0.108831
v 0.000000 -0.038268 0.092388
v -2.517020 -0.032313 0.103141
v 0.000000 -0.055557 0.083147
v -2.517020 -0.049601 0.093900
v 0.000000 -0.070710 0.070711
v -2.517020 -0.064755 0.081463
v 0.000000 -0.083147 0.055557
v -2.517020 -0.077191 0.066310
v 0.000000 -0.092388 0.038268
v -2.517020 -0.086432 0.049021
v 0.000000 -0.098078 0.019509
v -2.517020 -0.092123 0.030262
v 0.000000 -0.100000 -0.000000
v -2.517020 -0.094044 0.010753
v 0.000000 -0.098078 -0.019509
v -2.517020 -0.092123 -0.008756
v 0.000000 -0.092388 -0.038268
v -2.517020 -0.086432 -0.027516
v 0.000000 -0.083147 -0.055557
v -2.517020 -0.077191 -0.044804
v 0.000000 -0.070710 -0.070711
v -2.517020 -0.064755 -0.059958
v 0.000000 -0.055557 -0.083147
v -2.517020 -0.049601 -0.072394
v 0.000000 -0.038268 -0.092388
v -2.517020 -0.032313 -0.081635
v 0.000000 -0.019509 -0.098079
v -2.517020 -0.013553 -0.087326
v -0.000000 0.000000 -0.100000
v -2.517020 0.005956 -0.089247
v -0.000000 0.019509 -0.098079
v -2.517020 0.025465 -0.087326
v -0.000000 0.038269 -0.092388
v -2.517020 0.044224 -0.081635
v -0.000000 0.055557 -0.083147
v -2.517020 0.061513 -0.072394
v -0.000000 0.070711 -0.070711
v -2.517020 0.076667 -0.059958
v -0.000000 0.083147 -0.055557
v -2.517020 0.089103 -0.044804
v -0.000000 0.092388 -0.038268
v -2.517020 0.098344 -0.027516
v -0.000000 0.098079 -0.019509
v -2.517020 0.104034 -0.008756
v -0.000000 0.100000 0.000000
v -2.517020 0.105956 0.010753
v -0.000000 0.098079 0.019509
v -2.517020 0.104034 0.030262
v -0.000000 0.092388 0.038268
v -2.517020 0.098344 0.049021
v -0.000000 0.083147 0.055557
v -2.517020 0.089103 0.066310
v -0.000000 0.070711 0.070711
v -2.517020 0.076666 0.081463
v -0.000000 0.055557 0.083147
v -2.517020 0.061513 0.093900
v -0.000000 0.038268 0.092388
v -2.517020 0.044224 0.103141
v -0.000000 0.019509 0.098079
v -2.517020 0.025465 0.108831
vn 0.0040 -0.0980 0.9952
vn 0.0034 -0.2903 0.9569
vn 0.0027 -0.4714 0.8819
vn 0.0018 -0.6344 0.7730
vn 0.0009 -0.7730 0.6344
vn -0.0001 -0.8819 0.4714
vn -0.0010 -0.9569 0.2903
vn -0.0019 -0.9952 0.0980
vn -0.0028 -0.9952 -0.0980
vn -0.0035 -0.9569 -0.2903
vn -0.0041 -0.8819 -0.4714
vn -0.0045 -0.7730 -0.6344
vn -0.0048 -0.6344 -0.7730
vn -0.0049 -0.4714 -0.8819
vn -0.0048 -0.2903 -0.9569
vn -0.0045 -0.0980 -0.9952
vn -0.0040 0.0980 -0.9952
vn -0.0034 0.2903 -0.9569
vn -0.0027 0.4714 -0.8819
vn -0.0018 0.6344 -0.7730
vn -0.0009 0.7730 -0.6344
vn 0.0001 0.8819 -0.4714
vn 0.0010 0.9569 -0.2903
vn 0.0019 0.9952 -0.0980
vn 0.0028 0.9952 0.0980
vn 0.0035 0.9569 0.2903
vn 0.0041 0.8819 0.4714
vn 0.0045 0.7730 0.6344
vn 0.0048 0.6344 0.7730
vn 0.0049 0.4714 0.8819
vn -1.0000 -0.0000 0.0000
vn 0.0048 0.2903 0.9569
vn 0.0045 0.0980 0.9952
vn 1.0000 0.0000 0.0000
usemtl None
s off
f 1//1 2//1 4//1 3//1
f 3//2 4//2 6//2 5//2
f 5//3 6//3 8//3 7//3
f 7//4 8//4 10//4 9//4
f 9//5 10//5 12//5 11//5
f 11//6 12//6 14//6 13//6
f 13//7 14//7 16//7 15//7
f 15//8 16//8 18//8 17//8
f 17//9 18//9 20//9 19//9
f 19//10 20//10 22//10 21//10
f 21//11 22//11 24//11 23//11
f 23//12 24//12 26//12 25//12
f 25//13 26//13 28//13 27//13
f 27//14 28//14 30//14 29//14
f 29//15 30//15 32//15 31//15
f 31//16 32//16 34//16 33//16
f 33//17 34//17 36//17 35//17
f 35//18 36//18 38//18 37//18
f 37//19 38//19 40//19 39//19
f 39//20 40//20 42//20 41//20
f 41//21 42//21 44//21 43//21
f 43//22 44//22 46//22 45//22
f 45//23 46//23 48//23 47//23
f 47//24 48//24 50//24 49//24
f 49//25 50//25 52//25 51//25
f 51//26 52//26 54//26 53//26
f 53//27 54//27 56//27 55//27
f 55//28 56//28 58//28 57//28
f 57//29 58//29 60//29 59//29
f 59//30 60//30 62//30 61//30
f 4//31 2//31 64//31 62//31 60//31 58//31 56//31 54//31 52//31 50//31 48//31 46//31 44//31 42//31 40//31 38//31 36//31 34//31 32//31 30//31 28//31 26//31 24//31 22//31 20//31 18//31 16//31 14//31 12//31 10//31 8//31 6//31
f 61//32 62//32 64//32 63//32
f 63//33 64//33 2//33 1//33
f 1//34 3//34 5//34 7//34 9//34 11//34 13//34 15//34 17//34 19//34 21//34 23//34 25//34 27//34 29//34 31//34 33//34 35//34 37//34 39//34 41//34 43//34 45//34 47//34 49//34 51//34 53//34 55//34 57//34 59//34 61//34 63//34

10
models/tround.mtl Normal file
View File

@ -0,0 +1,10 @@
# Blender MTL File: 'None'
# Material Count: 1
newmtl None
Ns 0
Ka 0.000000 0.000000 0.000000
Kd 0.8 0.8 0.8
Ks 0.8 0.8 0.8
d 1
illum 2

234
models/tround.obj Normal file
View File

@ -0,0 +1,234 @@
# Blender v2.78 (sub 0) OBJ File: ''
# www.blender.org
mtllib tround.mtl
o Cylinder
v 0.052500 0.000000 -0.075000
v 0.052500 0.000000 0.075000
v 0.051491 -0.010242 -0.075000
v 0.051491 -0.010242 0.075000
v 0.048504 -0.020091 -0.075000
v 0.048504 -0.020091 0.075000
v 0.043652 -0.029167 -0.075000
v 0.043652 -0.029167 0.075000
v 0.037123 -0.037123 -0.075000
v 0.037123 -0.037123 0.075000
v 0.029167 -0.043652 -0.075000
v 0.029167 -0.043652 0.075000
v 0.020091 -0.048504 -0.075000
v 0.020091 -0.048504 0.075000
v 0.010242 -0.051491 -0.075000
v 0.010242 -0.051491 0.075000
v 0.000000 -0.052500 -0.075000
v 0.000000 -0.052500 0.075000
v -0.010242 -0.051491 -0.075000
v -0.010242 -0.051491 0.075000
v -0.020091 -0.048504 -0.075000
v -0.020091 -0.048504 0.075000
v -0.029167 -0.043652 -0.075000
v -0.029167 -0.043652 0.075000
v -0.037123 -0.037123 -0.075000
v -0.037123 -0.037123 0.075000
v -0.043652 -0.029167 -0.075000
v -0.043652 -0.029167 0.075000
v -0.048504 -0.020091 -0.075000
v -0.048504 -0.020091 0.075000
v -0.051491 -0.010242 -0.075000
v -0.051491 -0.010242 0.075000
v -0.052500 0.000000 -0.075000
v -0.052500 0.000000 0.075000
v -0.051491 0.010242 -0.075000
v -0.051491 0.010242 0.075000
v -0.048504 0.020091 -0.075000
v -0.048504 0.020091 0.075000
v -0.043652 0.029167 -0.075000
v -0.043652 0.029167 0.075000
v -0.037123 0.037123 -0.075000
v -0.037123 0.037123 0.075000
v -0.029167 0.043652 -0.075000
v -0.029167 0.043652 0.075000
v -0.020091 0.048504 -0.075000
v -0.020091 0.048504 0.075000
v -0.010242 0.051491 -0.075000
v -0.010242 0.051491 0.075000
v 0.000000 0.052500 -0.075000
v 0.000000 0.052500 0.075000
v 0.010242 0.051491 -0.075000
v 0.010242 0.051491 0.075000
v 0.020091 0.048504 -0.075000
v 0.020091 0.048504 0.075000
v 0.029167 0.043652 -0.075000
v 0.029167 0.043652 0.075000
v 0.037123 0.037123 -0.075000
v 0.037123 0.037123 0.075000
v 0.043652 0.029167 -0.075000
v 0.043652 0.029167 0.075000
v 0.048504 0.020091 -0.075000
v 0.048504 0.020091 0.075000
v 0.051491 0.010242 -0.075000
v 0.051491 0.010242 0.075000
v 0.010823 -0.002153 0.142579
v 0.011035 0.000000 0.142579
v 0.010195 -0.004223 0.142579
v 0.009175 -0.006131 0.142579
v 0.007803 -0.007803 0.142579
v 0.006131 -0.009175 0.142579
v 0.004223 -0.010195 0.142579
v 0.002153 -0.010823 0.142579
v 0.000000 -0.011035 0.142579
v -0.002153 -0.010823 0.142579
v -0.004223 -0.010195 0.142579
v -0.006131 -0.009175 0.142579
v -0.007803 -0.007803 0.142579
v -0.009175 -0.006131 0.142579
v -0.010195 -0.004223 0.142579
v -0.010823 -0.002153 0.142579
v -0.011035 0.000000 0.142579
v -0.010823 0.002153 0.142579
v -0.010195 0.004223 0.142579
v -0.009175 0.006131 0.142579
v -0.007803 0.007803 0.142579
v -0.006130 0.009175 0.142579
v -0.004223 0.010195 0.142579
v -0.002153 0.010823 0.142579
v 0.000000 0.011035 0.142579
v 0.002153 0.010823 0.142579
v 0.004223 0.010195 0.142579
v 0.006131 0.009175 0.142579
v 0.007803 0.007803 0.142579
v 0.009175 0.006131 0.142579
v 0.010195 0.004223 0.142579
v 0.010823 0.002153 0.142579
vn 0.9952 -0.0980 0.0000
vn 0.9569 -0.2903 0.0000
vn 0.8819 -0.4714 0.0000
vn 0.7730 -0.6344 0.0000
vn 0.6344 -0.7730 0.0000
vn 0.4714 -0.8819 0.0000
vn 0.2903 -0.9569 0.0000
vn 0.0980 -0.9952 0.0000
vn -0.0980 -0.9952 0.0000
vn -0.2903 -0.9569 0.0000
vn -0.4714 -0.8819 0.0000
vn -0.6344 -0.7730 0.0000
vn -0.7730 -0.6344 0.0000
vn -0.8819 -0.4714 0.0000
vn -0.9569 -0.2903 0.0000
vn -0.9952 -0.0980 0.0000
vn -0.9952 0.0980 0.0000
vn -0.9569 0.2903 0.0000
vn -0.8819 0.4714 0.0000
vn -0.7730 0.6344 0.0000
vn -0.6344 0.7730 0.0000
vn -0.4714 0.8819 0.0000
vn -0.2903 0.9569 0.0000
vn -0.0980 0.9952 0.0000
vn 0.0980 0.9952 0.0000
vn 0.2903 0.9569 0.0000
vn 0.4714 0.8819 0.0000
vn 0.6344 0.7730 0.0000
vn 0.7730 0.6344 0.0000
vn 0.8819 0.4714 0.0000
vn -0.5414 -0.6597 0.5212
vn 0.9569 0.2903 0.0000
vn 0.9952 0.0980 0.0000
vn -0.0000 0.0000 -1.0000
vn 0.0000 0.0000 1.0000
vn -0.5414 0.6597 0.5212
vn 0.7527 0.4023 0.5212
vn 0.0837 -0.8494 0.5212
vn -0.8494 0.0837 0.5212
vn 0.2477 0.8167 0.5212
vn 0.6597 -0.5414 0.5212
vn -0.6597 -0.5414 0.5212
vn -0.4023 0.7527 0.5212
vn 0.8167 0.2477 0.5212
vn -0.0837 -0.8494 0.5212
vn -0.8167 0.2477 0.5212
vn 0.4023 0.7527 0.5212
vn 0.5414 -0.6597 0.5212
vn -0.7527 -0.4023 0.5212
vn -0.2477 0.8167 0.5212
vn 0.8494 -0.0837 0.5212
vn 0.8494 0.0837 0.5212
vn -0.2477 -0.8167 0.5212
vn -0.7527 0.4023 0.5212
vn 0.5414 0.6597 0.5212
vn 0.4023 -0.7527 0.5212
vn -0.8167 -0.2477 0.5212
vn -0.0837 0.8494 0.5212
vn 0.8167 -0.2477 0.5212
vn -0.4023 -0.7527 0.5212
vn -0.6597 0.5414 0.5212
vn 0.6597 0.5414 0.5212
vn 0.2477 -0.8167 0.5212
vn -0.8494 -0.0837 0.5212
vn 0.0837 0.8494 0.5212
vn 0.7527 -0.4023 0.5212
usemtl None
s off
f 1//1 2//1 4//1 3//1
f 3//2 4//2 6//2 5//2
f 5//3 6//3 8//3 7//3
f 7//4 8//4 10//4 9//4
f 9//5 10//5 12//5 11//5
f 11//6 12//6 14//6 13//6
f 13//7 14//7 16//7 15//7
f 15//8 16//8 18//8 17//8
f 17//9 18//9 20//9 19//9
f 19//10 20//10 22//10 21//10
f 21//11 22//11 24//11 23//11
f 23//12 24//12 26//12 25//12
f 25//13 26//13 28//13 27//13
f 27//14 28//14 30//14 29//14
f 29//15 30//15 32//15 31//15
f 31//16 32//16 34//16 33//16
f 33//17 34//17 36//17 35//17
f 35//18 36//18 38//18 37//18
f 37//19 38//19 40//19 39//19
f 39//20 40//20 42//20 41//20
f 41//21 42//21 44//21 43//21
f 43//22 44//22 46//22 45//22
f 45//23 46//23 48//23 47//23
f 47//24 48//24 50//24 49//24
f 49//25 50//25 52//25 51//25
f 51//26 52//26 54//26 53//26
f 53//27 54//27 56//27 55//27
f 55//28 56//28 58//28 57//28
f 57//29 58//29 60//29 59//29
f 59//30 60//30 62//30 61//30
f 26//31 24//31 76//31 77//31
f 61//32 62//32 64//32 63//32
f 63//33 64//33 2//33 1//33
f 1//34 3//34 5//34 7//34 9//34 11//34 13//34 15//34 17//34 19//34 21//34 23//34 25//34 27//34 29//34 31//34 33//34 35//34 37//34 39//34 41//34 43//34 45//34 47//34 49//34 51//34 53//34 55//34 57//34 59//34 61//34 63//34
f 65//35 66//35 96//35 95//35 94//35 93//35 92//35 91//35 90//35 89//35 88//35 87//35 86//35 85//35 84//35 83//35 82//35 81//35 80//35 79//35 78//35 77//35 76//35 75//35 74//35 73//35 72//35 71//35 70//35 69//35 68//35 67//35
f 44//36 42//36 85//36 86//36
f 62//37 60//37 94//37 95//37
f 18//38 16//38 72//38 73//38
f 36//39 34//39 81//39 82//39
f 54//40 52//40 90//40 91//40
f 10//41 8//41 68//41 69//41
f 28//42 26//42 77//42 78//42
f 46//43 44//43 86//43 87//43
f 64//44 62//44 95//44 96//44
f 20//45 18//45 73//45 74//45
f 38//46 36//46 82//46 83//46
f 56//47 54//47 91//47 92//47
f 12//48 10//48 69//48 70//48
f 30//49 28//49 78//49 79//49
f 48//50 46//50 87//50 88//50
f 4//51 2//51 66//51 65//51
f 2//52 64//52 96//52 66//52
f 22//53 20//53 74//53 75//53
f 40//54 38//54 83//54 84//54
f 58//55 56//55 92//55 93//55
f 14//56 12//56 70//56 71//56
f 32//57 30//57 79//57 80//57
f 50//58 48//58 88//58 89//58
f 6//59 4//59 65//59 67//59
f 24//60 22//60 75//60 76//60
f 42//61 40//61 84//61 85//61
f 60//62 58//62 93//62 94//62
f 16//63 14//63 71//63 72//63
f 34//64 32//64 80//64 81//64
f 52//65 50//65 89//65 90//65
f 8//66 6//66 67//66 68//66

10
models/tturret.mtl Normal file
View File

@ -0,0 +1,10 @@
# Blender MTL File: 'tbody.blend'
# Material Count: 1
newmtl None
Ns 0
Ka 0.000000 0.000000 0.000000
Kd 0.8 0.8 0.8
Ks 0.8 0.8 0.8
d 1
illum 2

234
models/tturret.obj Normal file
View File

@ -0,0 +1,234 @@
# Blender v2.78 (sub 0) OBJ File: 'tbody.blend'
# www.blender.org
mtllib tturret.mtl
o Cylinder
v 0.000000 0.000000 0.750000
v 0.000000 0.274418 0.750000
v -0.146318 0.000000 0.735589
v -0.146318 0.274418 0.735589
v -0.287012 0.000000 0.692909
v -0.287012 0.274418 0.692909
v -0.416678 0.000000 0.623602
v -0.416678 0.274418 0.623602
v -0.530330 0.000000 0.530330
v -0.530330 0.274418 0.530330
v -0.623602 0.000000 0.416677
v -0.623602 0.274418 0.416677
v -0.692909 0.000000 0.287012
v -0.692909 0.274418 0.287012
v -0.735589 0.000000 0.146318
v -0.735589 0.274418 0.146318
v -0.750000 0.000000 -0.000000
v -0.750000 0.274418 -0.000000
v -0.735589 0.000000 -0.146318
v -0.735589 0.274418 -0.146318
v -0.692910 0.000000 -0.287013
v -0.692910 0.274418 -0.287013
v -0.623602 0.000000 -0.416678
v -0.623602 0.274418 -0.416678
v -0.530330 0.000000 -0.530330
v -0.530330 0.274418 -0.530330
v -0.416678 0.000000 -0.623602
v -0.416678 0.274418 -0.623602
v -0.287012 0.000000 -0.692910
v -0.287012 0.274418 -0.692910
v -0.146317 0.000000 -0.735589
v -0.146317 0.274418 -0.735589
v 0.000000 0.000000 -0.750000
v 0.000000 0.274418 -0.750000
v 0.146318 0.000000 -0.735589
v 0.146318 0.274418 -0.735589
v 0.287013 0.000000 -0.692910
v 0.287013 0.274418 -0.692910
v 0.416678 0.000000 -0.623602
v 0.416678 0.274418 -0.623602
v 0.530331 0.000000 -0.530330
v 0.530331 0.274418 -0.530330
v 0.623603 0.000000 -0.416677
v 0.623603 0.274418 -0.416677
v 0.692910 0.000000 -0.287012
v 0.692910 0.274418 -0.287012
v 0.735589 0.000000 -0.146317
v 0.735589 0.274418 -0.146317
v 0.750000 0.000000 0.000001
v 0.750000 0.274418 0.000001
v 0.735589 0.000000 0.146318
v 0.735589 0.274418 0.146318
v 0.692909 0.000000 0.287013
v 0.692909 0.274418 0.287013
v 0.623602 0.000000 0.416678
v 0.623602 0.274418 0.416678
v 0.530330 0.000000 0.530330
v 0.530330 0.274418 0.530330
v 0.416677 0.000000 0.623603
v 0.416677 0.274418 0.623603
v 0.287012 0.000000 0.692910
v 0.287012 0.274418 0.692910
v 0.146317 0.000000 0.735589
v 0.146317 0.274418 0.735589
v -0.114716 0.488240 0.576718
v 0.000000 0.488240 0.588016
v -0.225024 0.488240 0.543256
v -0.326684 0.488240 0.488918
v -0.415790 0.488240 0.415790
v -0.488918 0.488240 0.326684
v -0.543256 0.488240 0.225024
v -0.576718 0.488240 0.114716
v -0.588016 0.488240 -0.000000
v -0.576718 0.488240 -0.114716
v -0.543256 0.488240 -0.225024
v -0.488918 0.488240 -0.326685
v -0.415790 0.488240 -0.415791
v -0.326684 0.488240 -0.488918
v -0.225024 0.488240 -0.543256
v -0.114716 0.488240 -0.576718
v 0.000000 0.488240 -0.588017
v 0.114717 0.488240 -0.576718
v 0.225024 0.488240 -0.543256
v 0.326685 0.488240 -0.488918
v 0.415791 0.488240 -0.415790
v 0.488918 0.488240 -0.326684
v 0.543257 0.488240 -0.225024
v 0.576718 0.488240 -0.114716
v 0.588017 0.488240 0.000000
v 0.576718 0.488240 0.114717
v 0.543256 0.488240 0.225025
v 0.488917 0.488240 0.326685
v 0.415790 0.488240 0.415791
v 0.326684 0.488240 0.488918
v 0.225023 0.488240 0.543256
v 0.114716 0.488240 0.576718
vn -0.0980 0.0000 0.9952
vn -0.2903 0.0000 0.9569
vn -0.4714 0.0000 0.8819
vn -0.6344 0.0000 0.7730
vn -0.7730 0.0000 0.6344
vn -0.8819 0.0000 0.4714
vn -0.9569 0.0000 0.2903
vn -0.9952 0.0000 0.0980
vn -0.9952 0.0000 -0.0980
vn -0.9569 0.0000 -0.2903
vn -0.8819 0.0000 -0.4714
vn -0.7730 0.0000 -0.6344
vn -0.6344 0.0000 -0.7730
vn -0.4714 0.0000 -0.8819
vn -0.2903 0.0000 -0.9569
vn -0.0980 0.0000 -0.9952
vn 0.0980 0.0000 -0.9952
vn 0.2903 0.0000 -0.9569
vn 0.4714 0.0000 -0.8819
vn 0.6344 0.0000 -0.7730
vn 0.7730 0.0000 -0.6344
vn 0.8819 0.0000 -0.4714
vn 0.9569 0.0000 -0.2903
vn 0.9952 0.0000 -0.0980
vn 0.9952 0.0000 0.0980
vn 0.9569 0.0000 0.2903
vn 0.8819 0.0000 0.4714
vn 0.7730 0.0000 0.6344
vn 0.6344 0.0000 0.7730
vn 0.4714 0.0000 0.8819
vn -0.7947 0.6020 -0.0783
vn 0.2903 0.0000 0.9569
vn 0.0980 0.0000 0.9952
vn 0.0000 -1.0000 -0.0000
vn 0.0000 1.0000 -0.0000
vn 0.2318 0.6020 -0.7641
vn 0.7042 0.6020 0.3764
vn -0.6172 0.6020 0.5066
vn -0.3764 0.6020 -0.7042
vn -0.0783 0.6020 0.7947
vn 0.7641 0.6020 -0.2318
vn 0.0783 0.6020 0.7947
vn -0.7641 0.6020 -0.2318
vn 0.3764 0.6020 -0.7042
vn 0.6172 0.6020 0.5066
vn -0.7042 0.6020 0.3764
vn -0.2318 0.6020 -0.7641
vn 0.7947 0.6020 -0.0783
vn -0.2318 0.6020 0.7641
vn -0.7042 0.6020 -0.3764
vn 0.5066 0.6020 -0.6172
vn 0.5066 0.6020 0.6172
vn -0.7641 0.6020 0.2318
vn -0.0783 0.6020 -0.7947
vn 0.7947 0.6020 0.0783
vn -0.3764 0.6020 0.7042
vn -0.6172 0.6020 -0.5066
vn 0.6172 0.6020 -0.5066
vn 0.3764 0.6020 0.7042
vn -0.7947 0.6020 0.0783
vn 0.0783 0.6020 -0.7947
vn 0.7641 0.6020 0.2318
vn -0.5066 0.6020 0.6172
vn -0.5066 0.6020 -0.6172
vn 0.7042 0.6020 -0.3764
vn 0.2318 0.6020 0.7641
usemtl None
s off
f 1//1 2//1 4//1 3//1
f 3//2 4//2 6//2 5//2
f 5//3 6//3 8//3 7//3
f 7//4 8//4 10//4 9//4
f 9//5 10//5 12//5 11//5
f 11//6 12//6 14//6 13//6
f 13//7 14//7 16//7 15//7
f 15//8 16//8 18//8 17//8
f 17//9 18//9 20//9 19//9
f 19//10 20//10 22//10 21//10
f 21//11 22//11 24//11 23//11
f 23//12 24//12 26//12 25//12
f 25//13 26//13 28//13 27//13
f 27//14 28//14 30//14 29//14
f 29//15 30//15 32//15 31//15
f 31//16 32//16 34//16 33//16
f 33//17 34//17 36//17 35//17
f 35//18 36//18 38//18 37//18
f 37//19 38//19 40//19 39//19
f 39//20 40//20 42//20 41//20
f 41//21 42//21 44//21 43//21
f 43//22 44//22 46//22 45//22
f 45//23 46//23 48//23 47//23
f 47//24 48//24 50//24 49//24
f 49//25 50//25 52//25 51//25
f 51//26 52//26 54//26 53//26
f 53//27 54//27 56//27 55//27
f 55//28 56//28 58//28 57//28
f 57//29 58//29 60//29 59//29
f 59//30 60//30 62//30 61//30
f 20//31 18//31 73//31 74//31
f 61//32 62//32 64//32 63//32
f 63//33 64//33 2//33 1//33
f 1//34 3//34 5//34 7//34 9//34 11//34 13//34 15//34 17//34 19//34 21//34 23//34 25//34 27//34 29//34 31//34 33//34 35//34 37//34 39//34 41//34 43//34 45//34 47//34 49//34 51//34 53//34 55//34 57//34 59//34 61//34 63//34
f 65//35 66//35 96//35 95//35 94//35 93//35 92//35 91//35 90//35 89//35 88//35 87//35 86//35 85//35 84//35 83//35 82//35 81//35 80//35 79//35 78//35 77//35 76//35 75//35 74//35 73//35 72//35 71//35 70//35 69//35 68//35 67//35
f 38//36 36//36 82//36 83//36
f 56//37 54//37 91//37 92//37
f 12//38 10//38 69//38 70//38
f 30//39 28//39 78//39 79//39
f 4//40 2//40 66//40 65//40
f 48//41 46//41 87//41 88//41
f 2//42 64//42 96//42 66//42
f 22//43 20//43 74//43 75//43
f 40//44 38//44 83//44 84//44
f 58//45 56//45 92//45 93//45
f 14//46 12//46 70//46 71//46
f 32//47 30//47 79//47 80//47
f 50//48 48//48 88//48 89//48
f 6//49 4//49 65//49 67//49
f 24//50 22//50 75//50 76//50
f 42//51 40//51 84//51 85//51
f 60//52 58//52 93//52 94//52
f 16//53 14//53 71//53 72//53
f 34//54 32//54 80//54 81//54
f 52//55 50//55 89//55 90//55
f 8//56 6//56 67//56 68//56
f 26//57 24//57 76//57 77//57
f 44//58 42//58 85//58 86//58
f 62//59 60//59 94//59 95//59
f 18//60 16//60 72//60 73//60
f 36//61 34//61 81//61 82//61
f 54//62 52//62 90//62 91//62
f 10//63 8//63 68//63 69//63
f 28//64 26//64 77//64 78//64
f 46//65 44//65 86//65 87//65
f 64//66 62//66 95//66 96//66

10
models/wheel.mtl Normal file
View File

@ -0,0 +1,10 @@
# Blender MTL File: 'wheel.blend'
# Material Count: 1
newmtl None
Ns 0
Ka 0.000000 0.000000 0.000000
Kd 0.8 0.8 0.8
Ks 0.8 0.8 0.8
d 1
illum 2

458
models/wheel.obj Normal file
View File

@ -0,0 +1,458 @@
# Blender v2.79 (sub 0) OBJ File: 'wheel.blend'
# www.blender.org
mtllib wheel.mtl
o Cylinder
v -0.500000 0.000000 0.175000
v -0.500000 -0.000000 -0.175000
v -0.490393 -0.097545 0.175000
v -0.490393 -0.097545 -0.175000
v -0.461940 -0.191342 0.175000
v -0.461940 -0.191342 -0.175000
v -0.415735 -0.277785 0.175000
v -0.415735 -0.277785 -0.175000
v -0.353553 -0.353553 0.175000
v -0.353553 -0.353553 -0.175000
v -0.277785 -0.415735 0.175000
v -0.277785 -0.415735 -0.175000
v -0.191342 -0.461940 0.175000
v -0.191342 -0.461940 -0.175000
v -0.097545 -0.490393 0.175000
v -0.097545 -0.490393 -0.175000
v -0.000000 -0.500000 0.175000
v -0.000000 -0.500000 -0.175000
v 0.097545 -0.490393 0.175000
v 0.097545 -0.490393 -0.175000
v 0.191342 -0.461940 0.175000
v 0.191342 -0.461940 -0.175000
v 0.277785 -0.415735 0.175000
v 0.277785 -0.415735 -0.175000
v 0.353553 -0.353553 0.175000
v 0.353553 -0.353553 -0.175000
v 0.415735 -0.277785 0.175000
v 0.415735 -0.277785 -0.175000
v 0.461940 -0.191342 0.175000
v 0.461940 -0.191342 -0.175000
v 0.490393 -0.097545 0.175000
v 0.490393 -0.097545 -0.175000
v 0.500000 0.000000 0.175000
v 0.500000 0.000000 -0.175000
v 0.490393 0.097545 0.175000
v 0.490393 0.097545 -0.175000
v 0.461940 0.191342 0.175000
v 0.461940 0.191342 -0.175000
v 0.415735 0.277785 0.175000
v 0.415735 0.277785 -0.175000
v 0.353553 0.353554 0.175000
v 0.353553 0.353554 -0.175000
v 0.277785 0.415735 0.175000
v 0.277785 0.415735 -0.175000
v 0.191341 0.461940 0.175000
v 0.191341 0.461940 -0.175000
v 0.097545 0.490393 0.175000
v 0.097545 0.490393 -0.175000
v -0.000000 0.500000 0.175000
v -0.000000 0.500000 -0.175000
v -0.097546 0.490393 0.175000
v -0.097546 0.490393 -0.175000
v -0.191342 0.461940 0.175000
v -0.191342 0.461940 -0.175000
v -0.277786 0.415734 0.175000
v -0.277786 0.415734 -0.175000
v -0.353554 0.353553 0.175000
v -0.353554 0.353553 -0.175000
v -0.415735 0.277785 0.175000
v -0.415735 0.277785 -0.175000
v -0.461940 0.191341 0.175000
v -0.461940 0.191341 -0.175000
v -0.490393 0.097544 0.175000
v -0.490393 0.097544 -0.175000
v -0.500000 0.000000 0.175000
v -0.490393 -0.097545 0.175000
v -0.490393 -0.097545 -0.175000
v -0.500000 -0.000000 -0.175000
v -0.461940 -0.191342 0.175000
v -0.461940 -0.191342 -0.175000
v -0.415735 -0.277785 0.175000
v -0.415735 -0.277785 -0.175000
v -0.353553 -0.353553 0.175000
v -0.353553 -0.353553 -0.175000
v -0.277785 -0.415735 0.175000
v -0.277785 -0.415735 -0.175000
v -0.191342 -0.461940 0.175000
v -0.191342 -0.461940 -0.175000
v -0.097545 -0.490393 0.175000
v -0.097545 -0.490393 -0.175000
v -0.000000 -0.500000 0.175000
v -0.000000 -0.500000 -0.175000
v 0.097545 -0.490393 0.175000
v 0.097545 -0.490393 -0.175000
v 0.191342 -0.461940 0.175000
v 0.191342 -0.461940 -0.175000
v 0.277785 -0.415735 0.175000
v 0.277785 -0.415735 -0.175000
v 0.353553 -0.353553 0.175000
v 0.353553 -0.353553 -0.175000
v 0.415735 -0.277785 0.175000
v 0.415735 -0.277785 -0.175000
v 0.461940 -0.191342 0.175000
v 0.461940 -0.191342 -0.175000
v 0.490393 -0.097545 0.175000
v 0.490393 -0.097545 -0.175000
v 0.500000 0.000000 0.175000
v 0.500000 0.000000 -0.175000
v 0.490393 0.097545 0.175000
v 0.490393 0.097545 -0.175000
v 0.461940 0.191342 0.175000
v 0.461940 0.191342 -0.175000
v 0.415735 0.277785 0.175000
v 0.415735 0.277785 -0.175000
v 0.353553 0.353554 0.175000
v 0.353553 0.353554 -0.175000
v 0.277785 0.415735 0.175000
v 0.277785 0.415735 -0.175000
v 0.191341 0.461940 0.175000
v 0.191341 0.461940 -0.175000
v 0.097545 0.490393 0.175000
v 0.097545 0.490393 -0.175000
v -0.000000 0.500000 0.175000
v -0.000000 0.500000 -0.175000
v -0.097546 0.490393 0.175000
v -0.097546 0.490393 -0.175000
v -0.191342 0.461940 0.175000
v -0.191342 0.461940 -0.175000
v -0.277786 0.415734 0.175000
v -0.277786 0.415734 -0.175000
v -0.353554 0.353553 0.175000
v -0.353554 0.353553 -0.175000
v -0.415735 0.277785 0.175000
v -0.415735 0.277785 -0.175000
v -0.461940 0.191341 0.175000
v -0.461940 0.191341 -0.175000
v -0.490393 0.097544 0.175000
v -0.490393 0.097544 -0.175000
v -0.333101 -0.066258 -0.210634
v -0.339627 -0.000000 -0.210634
v -0.313774 -0.129969 -0.210634
v -0.282389 -0.188686 -0.210634
v -0.240152 -0.240152 -0.210634
v -0.188686 -0.282389 -0.210634
v -0.129969 -0.313774 -0.210634
v -0.066258 -0.333101 -0.210634
v -0.000000 -0.339627 -0.210634
v 0.066258 -0.333101 -0.210634
v 0.129969 -0.313774 -0.210634
v 0.188686 -0.282389 -0.210634
v 0.240152 -0.240152 -0.210634
v 0.282389 -0.188686 -0.210634
v 0.313774 -0.129969 -0.210634
v 0.333101 -0.066258 -0.210634
v 0.339626 0.000000 -0.210634
v 0.333101 0.066258 -0.210634
v 0.313774 0.129970 -0.210634
v 0.282389 0.188687 -0.210634
v 0.240152 0.240152 -0.210634
v 0.188686 0.282389 -0.210634
v 0.129969 0.313774 -0.210634
v 0.066258 0.333101 -0.210634
v -0.000000 0.339626 -0.210634
v -0.066258 0.333101 -0.210634
v -0.129970 0.313774 -0.210634
v -0.188687 0.282389 -0.210634
v -0.240153 0.240152 -0.210634
v -0.282389 0.188686 -0.210634
v -0.313774 0.129969 -0.210634
v -0.333101 0.066257 -0.210634
v -0.243557 -0.000000 0.234226
v -0.238877 -0.047516 0.234226
v -0.225017 -0.093205 0.234226
v -0.202510 -0.135313 0.234226
v -0.172221 -0.172221 0.234226
v -0.135313 -0.202510 0.234226
v -0.093205 -0.225017 0.234226
v -0.047516 -0.238877 0.234226
v -0.000000 -0.243557 0.234226
v 0.047515 -0.238877 0.234226
v 0.093205 -0.225017 0.234226
v 0.135313 -0.202510 0.234226
v 0.172221 -0.172221 0.234226
v 0.202510 -0.135313 0.234226
v 0.225017 -0.093205 0.234226
v 0.238877 -0.047516 0.234226
v 0.243557 0.000000 0.234226
v 0.238877 0.047516 0.234226
v 0.225017 0.093205 0.234226
v 0.202510 0.135313 0.234226
v 0.172221 0.172221 0.234226
v 0.135313 0.202510 0.234226
v 0.093205 0.225017 0.234226
v 0.047515 0.238877 0.234226
v -0.000000 0.243557 0.234226
v -0.047516 0.238877 0.234226
v -0.093206 0.225017 0.234226
v -0.135313 0.202510 0.234226
v -0.172221 0.172220 0.234226
v -0.202510 0.135313 0.234226
v -0.225017 0.093205 0.234226
v -0.238877 0.047515 0.234226
vn -0.9952 -0.0980 0.0000
vn -0.9569 -0.2903 0.0000
vn -0.8819 -0.4714 0.0000
vn -0.7730 -0.6344 0.0000
vn -0.6344 -0.7730 0.0000
vn -0.4714 -0.8819 0.0000
vn -0.2903 -0.9569 0.0000
vn -0.0980 -0.9952 0.0000
vn 0.0980 -0.9952 0.0000
vn 0.2903 -0.9569 0.0000
vn 0.4714 -0.8819 0.0000
vn 0.6344 -0.7730 0.0000
vn 0.7730 -0.6344 0.0000
vn 0.8819 -0.4714 0.0000
vn 0.9569 -0.2903 0.0000
vn 0.9952 -0.0980 0.0000
vn 0.9952 0.0980 -0.0000
vn 0.9569 0.2903 -0.0000
vn 0.8819 0.4714 0.0000
vn 0.7730 0.6344 0.0000
vn 0.6344 0.7730 0.0000
vn 0.4714 0.8819 0.0000
vn 0.2903 0.9569 -0.0000
vn 0.0980 0.9952 -0.0000
vn -0.0980 0.9952 -0.0000
vn -0.2903 0.9569 -0.0000
vn -0.4714 0.8819 -0.0000
vn -0.6344 0.7730 0.0000
vn -0.7730 0.6344 0.0000
vn -0.8819 0.4714 -0.0000
vn 0.0000 0.0000 1.0000
vn -0.9569 0.2903 -0.0000
vn -0.9952 0.0980 -0.0000
vn 0.1027 0.1922 -0.9760
vn -0.1747 0.1434 0.9741
vn 0.0000 -0.0000 -1.0000
vn -0.2085 -0.0633 -0.9760
vn -0.1684 0.1382 -0.9760
vn 0.0214 -0.2169 -0.9760
vn 0.2169 -0.0214 -0.9760
vn 0.0633 0.2085 -0.9760
vn -0.1922 -0.1027 -0.9760
vn -0.1922 0.1027 -0.9760
vn 0.0633 -0.2085 -0.9760
vn 0.2169 0.0214 -0.9760
vn 0.0214 0.2169 -0.9760
vn -0.1684 -0.1382 -0.9760
vn -0.2085 0.0633 -0.9760
vn 0.1027 -0.1922 -0.9760
vn 0.2085 0.0633 -0.9760
vn -0.0214 0.2169 -0.9760
vn -0.1382 -0.1684 -0.9760
vn -0.2169 0.0214 -0.9760
vn 0.1382 -0.1684 -0.9760
vn 0.1922 0.1027 -0.9760
vn -0.0633 0.2085 -0.9760
vn -0.1027 -0.1922 -0.9760
vn 0.1684 -0.1382 -0.9760
vn 0.1684 0.1382 -0.9760
vn -0.1027 0.1922 -0.9760
vn -0.0633 -0.2085 -0.9760
vn 0.1922 -0.1027 -0.9760
vn 0.1382 0.1684 -0.9760
vn -0.2169 -0.0214 -0.9760
vn -0.1382 0.1684 -0.9760
vn -0.0214 -0.2169 -0.9760
vn 0.2085 -0.0633 -0.9760
vn 0.0222 -0.2250 0.9741
vn 0.2250 -0.0222 0.9741
vn 0.0656 0.2163 0.9741
vn -0.1994 -0.1066 0.9741
vn -0.1994 0.1066 0.9741
vn 0.0656 -0.2163 0.9741
vn 0.2250 0.0222 0.9741
vn 0.0222 0.2250 0.9741
vn -0.1747 -0.1434 0.9741
vn -0.2163 0.0656 0.9741
vn 0.1066 -0.1994 0.9741
vn 0.2163 0.0656 0.9741
vn -0.0222 0.2250 0.9741
vn -0.1434 -0.1747 0.9741
vn -0.2250 0.0222 0.9741
vn 0.1434 -0.1747 0.9741
vn 0.1994 0.1066 0.9741
vn -0.0656 0.2163 0.9741
vn -0.1066 -0.1994 0.9741
vn 0.1747 -0.1434 0.9741
vn 0.1747 0.1434 0.9741
vn -0.1066 0.1994 0.9741
vn -0.0656 -0.2163 0.9741
vn 0.1994 -0.1066 0.9741
vn 0.1434 0.1747 0.9741
vn -0.2250 -0.0222 0.9741
vn -0.1434 0.1747 0.9741
vn -0.0222 -0.2250 0.9741
vn 0.2163 -0.0656 0.9741
vn 0.1066 0.1994 0.9741
vn -0.2163 -0.0656 0.9741
usemtl None
s off
f 1//1 2//1 4//1 3//1
f 3//2 4//2 6//2 5//2
f 5//3 6//3 8//3 7//3
f 7//4 8//4 10//4 9//4
f 9//5 10//5 12//5 11//5
f 11//6 12//6 14//6 13//6
f 13//7 14//7 16//7 15//7
f 15//8 16//8 18//8 17//8
f 17//9 18//9 20//9 19//9
f 19//10 20//10 22//10 21//10
f 21//11 22//11 24//11 23//11
f 23//12 24//12 26//12 25//12
f 25//13 26//13 28//13 27//13
f 27//14 28//14 30//14 29//14
f 29//15 30//15 32//15 31//15
f 31//16 32//16 34//16 33//16
f 33//17 34//17 36//17 35//17
f 35//18 36//18 38//18 37//18
f 37//19 38//19 40//19 39//19
f 39//20 40//20 42//20 41//20
f 41//21 42//21 44//21 43//21
f 43//22 44//22 46//22 45//22
f 45//23 46//23 48//23 47//23
f 47//24 48//24 50//24 49//24
f 49//25 50//25 52//25 51//25
f 51//26 52//26 54//26 53//26
f 53//27 54//27 56//27 55//27
f 55//28 56//28 58//28 57//28
f 57//29 58//29 60//29 59//29
f 59//30 60//30 62//30 61//30
f 13//31 15//31 79//31 77//31
f 61//32 62//32 64//32 63//32
f 63//33 64//33 2//33 1//33
f 50//31 48//31 112//31 114//31
f 110//34 108//34 150//34 151//34
f 121//35 123//35 190//35 189//35
f 31//31 33//31 97//31 95//31
f 16//31 14//31 78//31 80//31
f 49//31 51//31 115//31 113//31
f 34//31 32//31 96//31 98//31
f 52//31 50//31 114//31 116//31
f 15//31 17//31 81//31 79//31
f 33//31 35//31 99//31 97//31
f 18//31 16//31 80//31 82//31
f 51//31 53//31 117//31 115//31
f 36//31 34//31 98//31 100//31
f 54//31 52//31 116//31 118//31
f 17//31 19//31 83//31 81//31
f 35//31 37//31 101//31 99//31
f 20//31 18//31 82//31 84//31
f 1//31 3//31 66//31 65//31
f 53//31 55//31 119//31 117//31
f 38//31 36//31 100//31 102//31
f 4//31 2//31 68//31 67//31
f 56//31 54//31 118//31 120//31
f 19//31 21//31 85//31 83//31
f 37//31 39//31 103//31 101//31
f 22//31 20//31 84//31 86//31
f 55//31 57//31 121//31 119//31
f 40//31 38//31 102//31 104//31
f 3//31 5//31 69//31 66//31
f 58//31 56//31 120//31 122//31
f 21//31 23//31 87//31 85//31
f 6//31 4//31 67//31 70//31
f 39//31 41//31 105//31 103//31
f 24//31 22//31 86//31 88//31
f 57//31 59//31 123//31 121//31
f 42//31 40//31 104//31 106//31
f 5//31 7//31 71//31 69//31
f 60//31 58//31 122//31 124//31
f 23//31 25//31 89//31 87//31
f 8//31 6//31 70//31 72//31
f 41//31 43//31 107//31 105//31
f 26//31 24//31 88//31 90//31
f 59//31 61//31 125//31 123//31
f 44//31 42//31 106//31 108//31
f 7//31 9//31 73//31 71//31
f 62//31 60//31 124//31 126//31
f 25//31 27//31 91//31 89//31
f 10//31 8//31 72//31 74//31
f 43//31 45//31 109//31 107//31
f 28//31 26//31 90//31 92//31
f 61//31 63//31 127//31 125//31
f 46//31 44//31 108//31 110//31
f 9//31 11//31 75//31 73//31
f 64//31 62//31 126//31 128//31
f 27//31 29//31 93//31 91//31
f 12//31 10//31 74//31 76//31
f 45//31 47//31 111//31 109//31
f 30//31 28//31 92//31 94//31
f 63//31 1//31 65//31 127//31
f 48//31 46//31 110//31 112//31
f 11//31 13//31 77//31 75//31
f 2//31 64//31 128//31 68//31
f 29//31 31//31 95//31 93//31
f 14//31 12//31 76//31 78//31
f 47//31 49//31 113//31 111//31
f 32//31 30//31 94//31 96//31
f 129//36 130//36 160//36 159//36 158//36 157//36 156//36 155//36 154//36 153//36 152//36 151//36 150//36 149//36 148//36 147//36 146//36 145//36 144//36 143//36 142//36 141//36 140//36 139//36 138//36 137//36 136//36 135//36 134//36 133//36 132//36 131//36
f 70//37 67//37 129//37 131//37
f 124//38 122//38 157//38 158//38
f 84//39 82//39 137//39 138//39
f 98//40 96//40 144//40 145//40
f 112//41 110//41 151//41 152//41
f 72//42 70//42 131//42 132//42
f 126//43 124//43 158//43 159//43
f 86//44 84//44 138//44 139//44
f 100//45 98//45 145//45 146//45
f 114//46 112//46 152//46 153//46
f 74//47 72//47 132//47 133//47
f 128//48 126//48 159//48 160//48
f 88//49 86//49 139//49 140//49
f 102//50 100//50 146//50 147//50
f 116//51 114//51 153//51 154//51
f 76//52 74//52 133//52 134//52
f 68//53 128//53 160//53 130//53
f 90//54 88//54 140//54 141//54
f 104//55 102//55 147//55 148//55
f 118//56 116//56 154//56 155//56
f 78//57 76//57 134//57 135//57
f 92//58 90//58 141//58 142//58
f 106//59 104//59 148//59 149//59
f 120//60 118//60 155//60 156//60
f 80//61 78//61 135//61 136//61
f 94//62 92//62 142//62 143//62
f 108//63 106//63 149//63 150//63
f 67//64 68//64 130//64 129//64
f 122//65 120//65 156//65 157//65
f 82//66 80//66 136//66 137//66
f 96//67 94//67 143//67 144//67
f 161//31 162//31 163//31 164//31 165//31 166//31 167//31 168//31 169//31 170//31 171//31 172//31 173//31 174//31 175//31 176//31 177//31 178//31 179//31 180//31 181//31 182//31 183//31 184//31 185//31 186//31 187//31 188//31 189//31 190//31 191//31 192//31
f 81//68 83//68 170//68 169//68
f 95//69 97//69 177//69 176//69
f 109//70 111//70 184//70 183//70
f 69//71 71//71 164//71 163//71
f 123//72 125//72 191//72 190//72
f 83//73 85//73 171//73 170//73
f 97//74 99//74 178//74 177//74
f 111//75 113//75 185//75 184//75
f 71//76 73//76 165//76 164//76
f 125//77 127//77 192//77 191//77
f 85//78 87//78 172//78 171//78
f 99//79 101//79 179//79 178//79
f 113//80 115//80 186//80 185//80
f 73//81 75//81 166//81 165//81
f 127//82 65//82 161//82 192//82
f 87//83 89//83 173//83 172//83
f 101//84 103//84 180//84 179//84
f 115//85 117//85 187//85 186//85
f 75//86 77//86 167//86 166//86
f 89//87 91//87 174//87 173//87
f 103//88 105//88 181//88 180//88
f 117//89 119//89 188//89 187//89
f 77//90 79//90 168//90 167//90
f 91//91 93//91 175//91 174//91
f 105//92 107//92 182//92 181//92
f 65//93 66//93 162//93 161//93
f 119//94 121//94 189//94 188//94
f 79//95 81//95 169//95 168//95
f 93//96 95//96 176//96 175//96
f 107//97 109//97 183//97 182//97
f 66//98 69//98 163//98 162//98

32
project.godot Normal file
View File

@ -0,0 +1,32 @@
; Engine configuration file.
; It's best edited using the editor UI and not directly,
; since the parameters that go here are not all obvious.
;
; Format:
; [section] ; section goes between []
; param=value ; assign values to parameters
config_version=4
_global_script_classes=[ ]
_global_script_class_icons={
}
[application]
config/name="Godot3 Tank Test"
run/main_scene="res://map.tscn"
config/icon="res://icon.png"
[input]
ui_up={
"deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777232,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":12,"pressure":0.0,"pressed":false,"script":null)
]
}
[rendering]
environment/default_environment="res://default_env.tres"

Binary file not shown.

View File

@ -3,37 +3,39 @@ extends VehicleBody
# Member variables
var shotscene = preload("res://tank-round.tscn")
const STEER_SPEED = .25
const STEER_LIMIT = .3
const STEER_SPEED = .35
const STEER_LIMIT = .4
var steer_angle = 0
var steer_target = 0
var view_sensitivity = 0.1;
export var engine_force = 20
func _fixed_process(delta):
func _process(delta):
if (Input.is_action_pressed("ui_left")):
steer_target = -STEER_LIMIT
elif (Input.is_action_pressed("ui_right")):
steer_target = STEER_LIMIT
print("left")
elif (Input.is_action_pressed("ui_right")):
steer_target = -STEER_LIMIT
print("right")
else:
steer_target = 0
if (Input.is_action_pressed("ui_up")):
set_engine_force(engine_force)
set_engine_force(50)
print("accel")
else:
set_engine_force(0)
if (Input.is_action_pressed("ui_down")):
#set_brake(1)
set_engine_force(-engine_force)
set_engine_force(-50)
print("decel")
if (Input.is_action_pressed("driver_break")):
set_brake(1.0)
else:
set_brake(0.0)
#if (Input.is_action_pressed("driver_break")):
# set_brake(1.0)
#else:
# set_brake(0.0)
if (steer_target < steer_angle):
steer_angle -= STEER_SPEED*delta
@ -47,18 +49,18 @@ func _fixed_process(delta):
set_steering(steer_angle)
func _enter_tree():
Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED);
#Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED);
pass
func _ready():
set_fixed_process(true)
set_process_input(true)
func _input(ie):
if ie.type == InputEvent.MOUSE_MOTION:
if ie is InputEventMouseMotion:
var turret = get_node("Turret")
var cannon = get_node("Turret/Cannon")
var plus_pitch = view_sensitivity * -ie.relative_y
var plus_yaw = fmod(view_sensitivity * ie.relative_x,360)
var plus_pitch = view_sensitivity * -ie.relative.y
var plus_yaw = fmod(view_sensitivity * -ie.relative.x,360)
var can_rot = cannon.get_rotation()
can_rot.z -= deg2rad(plus_pitch)
var can_elev = rad2deg(can_rot.z)
@ -67,7 +69,7 @@ func _input(ie):
#print(cannon.get_global_transform().get_rotation())
turret.rotate(Vector3(0,1,0), deg2rad(plus_yaw))
elif ie.type == InputEvent.MOUSE_BUTTON:
elif ie is InputEventMouseButton:
if ie.button_index == BUTTON_LEFT and ie.is_pressed():
var shot = shotscene.instance()
get_parent().add_child(shot)
@ -75,8 +77,8 @@ func _input(ie):
shot.set_transform(get_node("Turret/Cannon/Aimpoint").get_global_transform())
shot.set_linear_velocity(shot_dir.normalized() * 100.0)
#shot.set_linear_velocity(shot.get_rotation().normalized() * 10)
shot.connect("body_enter", self, "shot_hit")
#shot.connect("body_enter", self, "shot_hit")
func shot_hit(obj):
print ("Own shot hit obj: " + obj.get_name())
print ("Own shot hit obj: " + obj.get_name())

View File

@ -1,295 +1,86 @@
[gd_scene load_steps=7 format=1]
[gd_scene load_steps=8 format=2]
[ext_resource path="res://tank-base.gd" type="Script" id=1]
[ext_resource path="res://tbody.msh" type="Mesh" id=2]
[ext_resource path="res://twheel.msh" type="Mesh" id=3]
[ext_resource path="res://tturret.msh" type="Mesh" id=4]
[ext_resource path="res://tcannon.msh" type="Mesh" id=5]
[ext_resource path="res://models/tbody.obj" type="ArrayMesh" id=1]
[ext_resource path="res://models/wheel.obj" type="ArrayMesh" id=2]
[ext_resource path="res://models/tturret.obj" type="ArrayMesh" id=3]
[ext_resource path="res://models/tcannon.obj" type="ArrayMesh" id=4]
[ext_resource path="res://tank-base.gd" type="Script" id=5]
[sub_resource type="BoxShape" id=1]
extents = Vector3( 2.65981, 0.569, 1.02308 )
extents = Vector3( 1.06913, 0.569071, 2.77569 )
[sub_resource type="CylinderShape" id=2]
height = 1.01006
radius = 0.790229
[node name="Spatial" type="Spatial"]
_import_transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
transform = Transform( -4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0, 1.1205, 0 )
[node name="TankBody" type="VehicleBody" parent="."]
_import_transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
input/ray_pickable = true
input/capture_on_drag = false
shape_count = 1
shapes/0/shape = SubResource( 1 )
shapes/0/transform = Transform( 0.926353, 0, 0, 0, 0.926353, 0, 0, 0, 0.926353, 0, 0, 0 )
shapes/0/trigger = false
collision/layers = 1
collision/mask = 1
motion/engine_force = 0.0
motion/brake = 0.0
motion/steering = 0.0
body/mass = 40.0
body/friction = 1.0
script/script = ExtResource( 1 )
engine_force = 40
[node name="MeshInstance" type="MeshInstance" parent="TankBody"]
_import_transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
layers = 1
geometry/visible = true
geometry/material_override = null
geometry/cast_shadow = 1
geometry/receive_shadows = true
geometry/range_begin = 0.0
geometry/range_end = 0.0
geometry/extra_cull_margin = 0.0
geometry/billboard = false
geometry/billboard_y = false
geometry/depth_scale = false
geometry/visible_in_all_rooms = false
geometry/use_baked_light = false
geometry/baked_light_tex_id = 0
mesh/mesh = ExtResource( 2 )
mesh/skeleton = NodePath("..")
material/0 = null
[node name="VehicleWheel" type="VehicleWheel" parent="TankBody"]
editor/display_folded = true
_import_transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
transform/local = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.882344, -0.794859, -1.6514 )
type/traction = true
type/steering = false
wheel/radius = 0.5
wheel/rest_length = 0.15
wheel/friction_slip = 10.5
suspension/travel = 5.0
suspension/stiffness = 16.0
suspension/max_force = 6000.0
damping/compression = 0.83
damping/relaxation = 0.88
[node name="MeshInstance" type="MeshInstance" parent="TankBody/VehicleWheel"]
_import_transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
layers = 1
geometry/visible = true
geometry/material_override = null
geometry/cast_shadow = 1
geometry/receive_shadows = true
geometry/range_begin = 0.0
geometry/range_end = 0.0
geometry/extra_cull_margin = 0.0
geometry/billboard = false
geometry/billboard_y = false
geometry/depth_scale = false
geometry/visible_in_all_rooms = false
geometry/use_baked_light = false
geometry/baked_light_tex_id = 0
mesh/mesh = ExtResource( 3 )
mesh/skeleton = NodePath("..")
material/0 = null
[node name="VehicleWheel1" type="VehicleWheel" parent="TankBody"]
editor/display_folded = true
_import_transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
transform/local = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.927136, -0.794859, -1.6514 )
type/traction = true
type/steering = false
wheel/radius = 0.5
wheel/rest_length = 0.15
wheel/friction_slip = 10.5
suspension/travel = 5.0
suspension/stiffness = 16.0
suspension/max_force = 6000.0
damping/compression = 0.83
damping/relaxation = 0.88
[node name="MeshInstance" type="MeshInstance" parent="TankBody/VehicleWheel1"]
_import_transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
transform/local = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00275898, -2.38419e-07, -0.00476646 )
layers = 1
geometry/visible = true
geometry/material_override = null
geometry/cast_shadow = 1
geometry/receive_shadows = true
geometry/range_begin = 0.0
geometry/range_end = 0.0
geometry/extra_cull_margin = 0.0
geometry/billboard = false
geometry/billboard_y = false
geometry/depth_scale = false
geometry/visible_in_all_rooms = false
geometry/use_baked_light = false
geometry/baked_light_tex_id = 0
mesh/mesh = ExtResource( 3 )
mesh/skeleton = NodePath("..")
material/0 = null
[node name="VehicleWheel2" type="VehicleWheel" parent="TankBody"]
editor/display_folded = true
_import_transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
transform/local = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.927136, -0.794859, 1.00165 )
type/traction = true
type/steering = true
wheel/radius = 0.5
wheel/rest_length = 0.15
wheel/friction_slip = 10.5
suspension/travel = 5.0
suspension/stiffness = 20.0
suspension/max_force = 6000.0
damping/compression = 0.83
damping/relaxation = 0.88
[node name="MeshInstance" type="MeshInstance" parent="TankBody/VehicleWheel2"]
_import_transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
layers = 1
geometry/visible = true
geometry/material_override = null
geometry/cast_shadow = 1
geometry/receive_shadows = true
geometry/range_begin = 0.0
geometry/range_end = 0.0
geometry/extra_cull_margin = 0.0
geometry/billboard = false
geometry/billboard_y = false
geometry/depth_scale = false
geometry/visible_in_all_rooms = false
geometry/use_baked_light = false
geometry/baked_light_tex_id = 0
mesh/mesh = ExtResource( 3 )
mesh/skeleton = NodePath("..")
material/0 = null
[node name="VehicleWheel3" type="VehicleWheel" parent="TankBody"]
editor/display_folded = true
_import_transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
transform/local = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.880901, -0.794859, 1.00165 )
type/traction = true
type/steering = true
wheel/radius = 0.5
wheel/rest_length = 0.15
wheel/friction_slip = 10.5
suspension/travel = 5.0
suspension/stiffness = 20.0
suspension/max_force = 6000.0
damping/compression = 0.83
damping/relaxation = 0.88
[node name="MeshInstance" type="MeshInstance" parent="TankBody/VehicleWheel3"]
_import_transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
layers = 1
geometry/visible = true
geometry/material_override = null
geometry/cast_shadow = 1
geometry/receive_shadows = true
geometry/range_begin = 0.0
geometry/range_end = 0.0
geometry/extra_cull_margin = 0.0
geometry/billboard = false
geometry/billboard_y = false
geometry/depth_scale = false
geometry/visible_in_all_rooms = false
geometry/use_baked_light = false
geometry/baked_light_tex_id = 0
mesh/mesh = ExtResource( 3 )
mesh/skeleton = NodePath("..")
material/0 = null
engine_force = 40.0
script = ExtResource( 5 )
[node name="CollisionShape" type="CollisionShape" parent="TankBody"]
_import_transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
transform/local = Transform( 0.926353, 0, 0, 0, 0.926353, 0, 0, 0, 0.926353, 0, 0, 0 )
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.134326, 0, -0.00275861 )
shape = SubResource( 1 )
trigger = false
_update_shape_index = 0
[node name="MeshInstance" type="MeshInstance" parent="TankBody"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00692177, 0, -0.00248563 )
mesh = ExtResource( 1 )
[node name="Turret" type="MeshInstance" parent="TankBody"]
_import_transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
transform/local = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.495483, 0 )
layers = 1
geometry/visible = true
geometry/material_override = null
geometry/cast_shadow = 1
geometry/receive_shadows = true
geometry/range_begin = 0.0
geometry/range_end = 0.0
geometry/extra_cull_margin = 0.0
geometry/billboard = false
geometry/billboard_y = false
geometry/depth_scale = false
geometry/visible_in_all_rooms = false
geometry/use_baked_light = false
geometry/baked_light_tex_id = 0
mesh/mesh = ExtResource( 4 )
mesh/skeleton = NodePath("..")
material/0 = null
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.523891, 0 )
mesh = ExtResource( 3 )
[node name="Cannon" type="MeshInstance" parent="TankBody/Turret"]
_import_transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
transform/local = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0.00988415, 0.154639, -0.0776682 )
layers = 1
geometry/visible = true
geometry/material_override = null
geometry/cast_shadow = 1
geometry/receive_shadows = true
geometry/range_begin = 0.0
geometry/range_end = 0.0
geometry/extra_cull_margin = 0.0
geometry/billboard = false
geometry/billboard_y = false
geometry/depth_scale = false
geometry/visible_in_all_rooms = false
geometry/use_baked_light = false
geometry/baked_light_tex_id = 0
mesh/mesh = ExtResource( 5 )
mesh/skeleton = NodePath("..")
material/0 = null
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0.161056, 0 )
mesh = ExtResource( 4 )
[node name="Camera" type="InterpolatedCamera" parent="TankBody/Turret/Cannon"]
_import_transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
transform/local = Transform( 0.999893, 0.0024913, -0.0144434, 8.61506e-08, 0.985446, 0.169983, 0.0146567, -0.169964, 0.985341, -4.13644, 0.742932, 6.99829 )
projection = 0
transform = Transform( -4.37114e-08, -0.0903545, 0.99591, 0, 0.99591, 0.0903545, -1, 3.94952e-09, -4.35326e-08, 0, 0.616, 0 )
current = true
fov = 60.0
near = 0.1
far = 100.0
keep_aspect = 1
current = false
visible_layers = 1048575
environment = null
h_offset = 0.0
v_offset = 0.0
target = NodePath("")
speed = 1.0
enabled = false
[node name="Aimpoint" type="TestCube" parent="TankBody/Turret/Cannon"]
[node name="Aimpoint" type="Spatial" parent="TankBody/Turret/Cannon"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -20, 0, 0 )
_import_transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
transform/local = Transform( 0, -0.0278, 0.096058, 0, 0.096058, 0.0278, -0.1, 0, 0, -2.94812, 0.012086, 0.0291159 )
layers = 1
geometry/visible = true
geometry/material_override = null
geometry/cast_shadow = 1
geometry/receive_shadows = true
geometry/range_begin = 0.0
geometry/range_end = 0.0
geometry/extra_cull_margin = 0.0
geometry/billboard = false
geometry/billboard_y = false
geometry/depth_scale = false
geometry/visible_in_all_rooms = false
geometry/use_baked_light = false
geometry/baked_light_tex_id = 0
[node name="CollisionShape" type="CollisionShape" parent="TankBody/Turret"]