summaryrefslogtreecommitdiffstats
path: root/Float.tscn
diff options
context:
space:
mode:
authordusoleil <howcansocksbereal@gmail.com>2022-10-09 04:45:45 -0400
committerdusoleil <howcansocksbereal@gmail.com>2022-10-09 04:46:01 -0400
commitf7ec57998a1c3d0cf91c1fb017fd5a91bb1e0b96 (patch)
treece0fbf5ed79731da5b216327a2e5cdc59df39fc6 /Float.tscn
parent4c9b0fdd23eda730abdc35f935bc011a3aea0765 (diff)
downloadgodot_wildjam_49-f7ec57998a1c3d0cf91c1fb017fd5a91bb1e0b96.tar.gz
godot_wildjam_49-f7ec57998a1c3d0cf91c1fb017fd5a91bb1e0b96.zip
Rework Buoyancy physicsduso-water-touchups
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.
Diffstat (limited to 'Float.tscn')
-rw-r--r--Float.tscn18
1 files changed, 0 insertions, 18 deletions
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 )