Boats: Prevent entering 'ignore' nodes
authorparamat <paramat@users.noreply.github.com>
Fri, 9 Feb 2018 04:52:54 +0000 (04:52 +0000)
committerparamat <mat.gregory@virginmedia.com>
Sat, 17 Feb 2018 09:37:22 +0000 (09:37 +0000)
commit7754555707a6a1bf1e8f4b57788e27e57fde1cd8
treeabfed847c68d4b192d49db67e91b6ce390d0cfa6
parent1e9c61f241f6495d944d7e8e21fa5e150e7f8315
Boats: Prevent entering 'ignore' nodes

At world edge make boat bounce back into world by inverting speed.
At world base avoid falling into ignore by setting y velocity to 0.
mods/boats/init.lua