[gd_scene load_steps=7 format=2] [ext_resource path="res://Player.gd" type="Script" id=1] [ext_resource path="res://Testures/Crosshair/Crosshair.png" type="Texture" id=2] [ext_resource path="res://Testures/Interface/Man.png" type="Texture" id=3] [sub_resource type="CapsuleMesh" id=1] mid_height = 3.0 [sub_resource type="CapsuleShape" id=2] height = 3.0 [sub_resource type="CylinderShape" id=3] [node name="Player" type="KinematicBody"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 8.25497, 0 ) script = ExtResource( 1 ) [node name="BodyMesh" type="MeshInstance" parent="."] transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 0, 0 ) mesh = SubResource( 1 ) material/0 = null [node name="BodyCollison" type="CollisionShape" parent="."] transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 0, 0 ) shape = SubResource( 2 ) [node name="Foot" type="CollisionShape" parent="."] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.5, 0 ) shape = SubResource( 3 ) [node name="Head" type="Spatial" parent="."] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0 ) [node name="Camera" type="Camera" parent="Head"] [node name="GroundCheck" type="RayCast" parent="."] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -2, 0 ) enabled = true cast_to = Vector3( 0, -1.5, 0 ) [node name="HUD" type="Control" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 margin_right = 4.0 __meta__ = { "_edit_use_anchors_": false } [node name="Crosshair" type="Control" parent="HUD"] anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -21.0 margin_top = -21.0 margin_right = 21.0 margin_bottom = 21.0 __meta__ = { "_edit_use_anchors_": false } [node name="Crosshair_Image" type="TextureRect" parent="HUD/Crosshair"] anchor_right = 0.5 anchor_bottom = 0.5 margin_right = 40.0 margin_bottom = 40.0 texture = ExtResource( 2 ) [node name="Control" type="Control" parent="HUD"] anchor_top = 1.0 anchor_right = 0.5 anchor_bottom = 1.0 margin_left = -0.28 margin_top = 542.0 margin_right = -913.0 margin_bottom = -5398.0 [node name="TextureRect" type="TextureRect" parent="HUD/Control"] anchor_right = 0.5 anchor_bottom = 0.5 margin_left = 5.89191 margin_top = -733.919 margin_right = 107.892 margin_bottom = -546.919 texture = ExtResource( 3 ) __meta__ = { "_edit_use_anchors_": false }