2020-08-16 12:11:59 +00:00
|
|
|
[gd_scene load_steps=3 format=2]
|
2020-03-01 23:18:56 +00:00
|
|
|
|
|
|
|
[ext_resource path="res://Scripts/Player.gd" type="Script" id=1]
|
|
|
|
|
2020-08-16 12:11:59 +00:00
|
|
|
[sub_resource type="CapsuleShape" id=1]
|
2020-09-27 15:25:46 +00:00
|
|
|
radius = 0.15
|
|
|
|
height = 0.6
|
2020-08-16 12:11:59 +00:00
|
|
|
|
|
|
|
[node name="Player" type="RigidBody"]
|
2020-03-01 23:18:56 +00:00
|
|
|
script = ExtResource( 1 )
|
2020-08-16 12:11:59 +00:00
|
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="."]
|
2020-09-27 15:25:46 +00:00
|
|
|
transform = Transform( 1, 0, 0, 0, 0.519, 0, 0, 0, 1, 0, 0, -0.034 )
|
2020-08-16 12:11:59 +00:00
|
|
|
shape = SubResource( 1 )
|
2020-08-29 16:33:30 +00:00
|
|
|
|
|
|
|
[node name="GunContainer" type="Spatial" parent="."]
|
2020-09-27 15:25:46 +00:00
|
|
|
transform = Transform( 2.65431e-15, 1.62921e-08, 0.1, 0.1, -1.62921e-08, 0, 1.62921e-08, 0.1, -1.62921e-08, 0, -0.022, 0.383 )
|
2020-08-29 16:33:30 +00:00
|
|
|
|
|
|
|
[node name="RayCast" type="RayCast" parent="GunContainer"]
|
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.769, 0 )
|
|
|
|
enabled = true
|
|
|
|
cast_to = Vector3( 0, 500, 0 )
|