Join GitHub today
Boats: Prevent entering 'ignore' nodes #2044
At world edge make boat bounce back into world by inverting speed.
As part of world edge stuff minetest/minetest#6984
It will be rare that a boat is used to drop into void at world base, but i added protection against that anyway, y velocity is set to zero. I did try a vertical bounce but this had no advantage and often resulted in a boat having zero y velocity and stuck about 1 node below world base. So at world base it is necessary for the player to exit the boat, pick it up and jump back up into the world.