SpaceServer/Scenes/Player.tscn

23 lines
740 B
Plaintext

[gd_scene load_steps=3 format=2]
[ext_resource path="res://Scripts/Player.gd" type="Script" id=1]
[sub_resource type="CapsuleShape" id=1]
radius = 0.15
height = 0.6
[node name="Player" type="RigidBody"]
script = ExtResource( 1 )
[node name="CollisionShape" type="CollisionShape" parent="."]
transform = Transform( 1, 0, 0, 0, 0.519, 0, 0, 0, 1, 0, 0, -0.034 )
shape = SubResource( 1 )
[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 )
[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 )