31 lines
1.3 KiB
Text
31 lines
1.3 KiB
Text
[gd_scene load_steps=6 format=2]
|
|
|
|
[ext_resource path="res://Objects/Ai-tank/tank00.gd" type="Script" id=1]
|
|
[ext_resource path="res://Objects/Player-tank/model/Bottom_tank.dae" type="PackedScene" id=2]
|
|
[ext_resource path="res://Objects/Player-tank/model/Top_tank.dae" type="PackedScene" id=3]
|
|
|
|
[sub_resource type="BoxShape" id=1]
|
|
extents = Vector3( 1.29, 1, 2.428 )
|
|
|
|
[sub_resource type="BoxShape" id=2]
|
|
|
|
[node name="AITank00" type="KinematicBody"]
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="CollisionShapeBottom" type="CollisionShape" parent="." groups=["player", "tank"]]
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="Bottom_tank" parent="CollisionShapeBottom" instance=ExtResource( 2 )]
|
|
transform = Transform( -1.44248e-06, 0, 33, 0, 33, 0, -33, 0, -1.44248e-06, 0, -1.90625, 0 )
|
|
|
|
[node name="CollisionShapeTop" type="CollisionShape" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.572825, 0 )
|
|
shape = SubResource( 2 )
|
|
|
|
[node name="Top_tank" parent="CollisionShapeTop" instance=ExtResource( 3 )]
|
|
transform = Transform( -1.44248e-06, 0, 33, 0, 33, 0, -33, 0, -1.44248e-06, 0, -2.74403, 0 )
|
|
|
|
[node name="BulletGenerator" type="Position3D" parent="CollisionShapeTop/Top_tank"]
|
|
transform = Transform( -1.32459e-09, 0, -0.030303, 0, 0.030303, 0, 0.030303, 0, -1.32459e-09, 0.124162, 0.0831104, -9.97006e-05 )
|
|
|
|
[node name="TankAI" type="Node" parent="."]
|