From f7ec57998a1c3d0cf91c1fb017fd5a91bb1e0b96 Mon Sep 17 00:00:00 2001 From: dusoleil Date: Sun, 9 Oct 2022 04:45:45 -0400 Subject: Rework Buoyancy physics Simplify creating a buoyant object to just extending a class and setting the water plane. Implement a new buoyancy estimation that should be a bit more accurate. --- Float.tscn | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 Float.tscn (limited to 'Float.tscn') diff --git a/Float.tscn b/Float.tscn deleted file mode 100644 index 6d1ba7e..0000000 --- a/Float.tscn +++ /dev/null @@ -1,18 +0,0 @@ -[gd_scene load_steps=4 format=2] - -[ext_resource path="res://Float.gd" type="Script" id=1] - -[sub_resource type="SpatialMaterial" id=1] -albedo_color = Color( 0.823529, 0.796078, 0.0588235, 1 ) - -[sub_resource type="SphereMesh" id=2] -material = SubResource( 1 ) -radius = 0.5 -height = 1.0 - -[node name="Float" type="Spatial"] -script = ExtResource( 1 ) - -[node name="MeshInstance" type="MeshInstance" parent="."] -visible = false -mesh = SubResource( 2 ) -- cgit v1.2.3