[gd_scene load_steps=6 format=2] [ext_resource path="res://Player.gd" type="Script" id=1] [ext_resource path="res://FPSLabel.gd" type="Script" id=2] [ext_resource path="res://ocean/Floater.tscn" type="PackedScene" id=3] [sub_resource type="CapsuleMesh" id=1] radius = 0.5 [sub_resource type="CapsuleShape" id=2] radius = 0.5 [node name="Player" type="RigidBody"] custom_integrator = true axis_lock_angular_x = true axis_lock_angular_y = true axis_lock_angular_z = true linear_damp = 1.0 angular_damp = 1.0 script = ExtResource( 1 ) [node name="MeshInstance" type="MeshInstance" parent="."] transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0 ) mesh = SubResource( 1 ) [node name="CollisionShape" type="CollisionShape" parent="."] transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0 ) shape = SubResource( 2 ) [node name="Head" type="Spatial" parent="."] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.70418, 0 ) [node name="Camera" type="Camera" parent="Head"] [node name="FPSLabel" type="Label" parent="Head/Camera"] margin_right = 40.0 margin_bottom = 14.0 script = ExtResource( 2 ) __meta__ = { "_edit_use_anchors_": false } [node name="StateLabel" type="Label" parent="Head/Camera"] margin_top = 14.5121 margin_right = 40.0 margin_bottom = 28.5121 __meta__ = { "_edit_use_anchors_": false } [node name="GroundRayCast" type="RayCast" parent="."] enabled = true cast_to = Vector3( 0, -1.2, 0 ) [node name="Floater" parent="." instance=ExtResource( 3 )]