SpaceServer/Scenes/Player.tscn

23 lines
740 B
Plaintext
Raw Normal View History

2020-08-16 12:11:59 +00:00
[gd_scene load_steps=3 format=2]
[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]
radius = 0.15
height = 0.6
2020-08-16 12:11:59 +00:00
[node name="Player" type="RigidBody"]
script = ExtResource( 1 )
2020-08-16 12:11:59 +00:00
[node name="CollisionShape" type="CollisionShape" parent="."]
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="."]
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 )