27 lines
921 B
Text
27 lines
921 B
Text
[gd_scene load_steps=5 format=2]
|
|
|
|
[ext_resource path="res://Objects/Player-tank/Player.gd" type="Script" id=1]
|
|
|
|
[sub_resource type="BoxShape" id=1]
|
|
|
|
[sub_resource type="CubeMesh" id=2]
|
|
|
|
[sub_resource type="SpatialMaterial" id=3]
|
|
albedo_color = Color( 1, 0, 0, 1 )
|
|
|
|
[node name="PlayerTank" type="KinematicBody"]
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="Camera" type="Camera" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 20.7405, -7.28392e-07 )
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="." groups=["player", "tank"]]
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="Tank" type="MeshInstance" parent="CollisionShape" groups=["tank"]]
|
|
mesh = SubResource( 2 )
|
|
skeleton = NodePath("../..")
|
|
material/0 = SubResource( 3 )
|
|
|
|
[node name="BulletGenerator" type="Position3D" parent="CollisionShape/Tank"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0032903, 0.375606, -1.3599 )
|