Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Looks like you have some collision shapes that are scaled (which Godot warns against doing) and also your hull mesh is scaled (it's not allowed for the same reasons that Godot doesn't want you to scale collision shapes, but this probably isn't in my documentation).  The end result is that Hydro thinks your boat is a 1x1x1 cube and it spins accordingly.

When I resize the collision shapes and mesh and revert the scale to 1 for everything, it starts acting like a boat.  Once the shapes were working I had to bump up the mass as well.

I do want to make Hydro more ergonomic to use in the next version, so I'll make note of the scaling issue.  If I can't make it deal with scaled objects automatically, in the worst case I could at least trigger the warning icon to show up when a shape is scaled.

(+1)

Thank you a lot. Unfortunately, I got used to ignoring this warning since until now there has never been a problem. Stupid me.

So then I will design the shapes in blender and import them so I can change the size without scaling.

The other issue was that in the demo project, the boat sometimes just disappears under water after changing propulsion value or rudder angle.

And great to hear that you will release it as an addon, that would be so cool. As far as I know hydro is the only way to do realistic boat or ship simulations in Godot without  coding your own hydrodynamic model. We used Dynamic Water Physics before, which is great but unfortunately only available for Unity and Unreal, which is not so great. And we also would like to use open source if available, so we super appreciate your work. We will probably use it a lot in the future to develop interactive learning tools for seafarers and sea rescuers.

Many thanks for your help again,

Marie