diff --git a/node.tscn b/node.tscn deleted file mode 100644 index 75b9d54..0000000 --- a/node.tscn +++ /dev/null @@ -1,3 +0,0 @@ -[gd_scene format=3 uid="uid://buq17wtyky42j"] - -[node name="Node" type="Node" unique_id=2000830144] diff --git a/player_boat.tscn b/player_boat.tscn index 4d0f258..b7bd5eb 100644 --- a/player_boat.tscn +++ b/player_boat.tscn @@ -10,18 +10,18 @@ albedo_color = Color(0.72, 0.53, 0.32, 1) roughness = 0.9 [sub_resource type="BoxShape3D" id="BoxShape_crate"] +size = Vector3(1, 1, 5) [node name="PlayerBoat" type="RigidBody3D" unique_id=1387061778 groups=["shift_with_origin"]] +collision_layer = 2 mass = 5.0 script = ExtResource("1_7h74f") -buoyancy = 1.5 +buoyancy = 4.0 full_force_depth = 0.8 probe_extents = Vector3(0.35, 0, 2.25) probe_grid = Vector2i(2, 5) [node name="Mesh" type="MeshInstance3D" parent="." unique_id=671943938] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 5, 0, 0, 0) -layers = 2 mesh = SubResource("BoxMesh_crate") surface_material_override/0 = SubResource("Material_crate") diff --git a/project.godot b/project.godot index 0694404..2bb3827 100644 --- a/project.godot +++ b/project.godot @@ -68,8 +68,3 @@ restart={ 3d/physics_engine="Jolt Physics" common/physics_interpolation=true - -[rendering] - -rendering_device/driver.windows="d3d12" -rendering_device/fallback_to_d3d12=false diff --git a/scripts/stats_label.gd b/scripts/stats_label.gd index 6e740cc..badb4e5 100644 --- a/scripts/stats_label.gd +++ b/scripts/stats_label.gd @@ -1,6 +1,6 @@ extends Label -@export var boat: Boat # drag the Crate into this slot in the inspector +@export var boat: Boat @export var world: WorldManager