godot-extended-libraries / hydro

Hydro is a Godot Engine module which allows rigid bodies to behave realistically in water.
MIT License
63 stars 15 forks source link

Fix up for godot 4.0-stable #16

Closed jacobpennington821 closed 1 year ago

jacobpennington821 commented 1 year ago

Fixes for godot 4.0-stable:

Vector3 Face3::get_median_point() was removed by https://github.com/godotengine/godot/commit/c0083e431bb7bf66987f396cf9a62fa372d92fe9 Just drops in the old code inline.

Fixes up runtime errors preventing demo from running in 4.0-stable. Gets basic waves working again. Shading on waves is still broken, unknown why - cubemap generation seems to only return black textures.

fire commented 1 year ago

Thanks.