summaryrefslogtreecommitdiffstats
path: root/project.godot
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 /project.godot
parent4c9b0fdd23eda730abdc35f935bc011a3aea0765 (diff)
downloadgodot_wildjam_49-duso-water-touchups.tar.gz
godot_wildjam_49-duso-water-touchups.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 '')
-rw-r--r--project.godot6
1 files changed, 6 insertions, 0 deletions
diff --git a/project.godot b/project.godot
index 42f0e5f..1f86ed2 100644
--- a/project.godot
+++ b/project.godot
@@ -9,6 +9,11 @@
config_version=4
_global_script_classes=[ {
+"base": "RigidBody",
+"class": "BuoyantBody",
+"language": "GDScript",
+"path": "res://water/BuoyantBody.gd"
+}, {
"base": "Monument",
"class": "DockMonument",
"language": "GDScript",
@@ -30,6 +35,7 @@ _global_script_classes=[ {
"path": "res://world/monuments/lighthouse/lighthouseMonument.gd"
} ]
_global_script_class_icons={
+"BuoyantBody": "",
"DockMonument": "",
"Monument": "",
"Wave": "",