Detecting if boat is out of water ( on shore )
#8

if custom maps are a problem, you should constantly check if the boat is above 1 m altitude AND check if it receives damage. If the boat receives damage, but it's below 1 m, there's a high chance to be just a collision made with an object or vehicle. If the boat is above 1 m and is receiving damage, the boat might be on shore. You can add more rules on this regarding the area, because I know that there are places on the map below the sea level, and not flooded with water.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)