diff options
author | dusoleil <howcansocksbereal@gmail.com> | 2022-09-12 20:45:03 -0400 |
---|---|---|
committer | dusoleil <howcansocksbereal@gmail.com> | 2022-09-12 20:45:03 -0400 |
commit | 99a70a8677f8d14749bdcd374f1631cd9cbbd3df (patch) | |
tree | 9d3cc5334ceb4e698009449c070bec3b4850629e /Float.tscn | |
parent | 5dbc9c05c1ebd33e37315c096d2c9e1c6b96a8f2 (diff) | |
download | godot_wildjam_49-99a70a8677f8d14749bdcd374f1631cd9cbbd3df.tar.gz godot_wildjam_49-99a70a8677f8d14749bdcd374f1631cd9cbbd3df.zip |
Add buoyancy simulation to water and floaties on the raft
Diffstat (limited to 'Float.tscn')
-rw-r--r-- | Float.tscn | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Float.tscn b/Float.tscn new file mode 100644 index 0000000..6d1ba7e --- /dev/null +++ b/Float.tscn @@ -0,0 +1,18 @@ +[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 ) |