Solved it with approximation.
I used the following code to approximate amount of water that would flow on the opposite side and it works satisfactory!
double angle2 = Math.PI - relativeSpeed.angle(vKeel);
double oppositeStream = (Math.pow(angle2...
Actually, i started to programm this game as a simple drive-your-small-boat-left-right-up-down, so i want to keep things as simple as possible (read, no turbulence :)).
I'm handeling this by switching direction of vector of the sail when angle between sail and relative wind is less then PI/2...
I'm trying to make a computer simulation of ship.
Currently I'm working on a force of wind on the ship sail.
This is the page which describes the basics:
http://www.animations.physics.unsw.edu.au/jw/sailing.html
Basicaly, wind (W - vector) has some staring direction and then that...