Need Help Finding the Intersection Area Between Two Overlapping Areas

Godot Version

v4.1.1.stable.official [bd6af8e0e]

Question

I am having trouble with calculating the total area of an intersection between two meshes. My first thought was to use the vertices of both meshes to find which ones were overlapping, then calculating the area using that. However, I realised that this would work only on simple shapes, and something more complex - like the 2D area of a boat’s intersection into water - would not work.

Is there any simpler way to find the shape of a mesh intersecting into another in Godot? Any help would be appreciated.

What do you need this for?

The 2D area of a boat’s intersection into water.

Yeah, but what for?