{"id":25,"date":"2019-08-11T20:46:21","date_gmt":"2019-08-11T20:46:21","guid":{"rendered":"https:\/\/www.ruffleneck.com\/devblog\/?p=25"},"modified":"2019-08-11T20:46:21","modified_gmt":"2019-08-11T20:46:21","slug":"gaze-xx-navigate-swim-unnavigate","status":"publish","type":"post","link":"https:\/\/www.ruffleneck.com\/devblog\/?p=25","title":{"rendered":"Gaze XX &#8211; Navigate. Swim. Unnavigate."},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">This week we\u2019ve been mostly wrapping up the features of r5.24.2 and fighting against pesky Unity Engine bugs (such as characters spawning in the \u201csea\u201d under the terrain because for some reason Unity prefers that navigation surface more than the one on the terrain).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here you can see the issue:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/jypR_VaKnsJJSCY8390pqT42-jqGwzkbUJ6zvqOTBNcO2qozITKCcLZsacsBbrP67Z8OOP8UD_IUPa08qfbwe1Eu0hxDfQ3CcdRKH1PlnkTtsBlXhWRUCh4-CCsb6lj5DbtGOUP2\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The pink would be the \u201caccurate\u201d standing position of characters and it should go around the same position as the blue one that is the navigation surface. So basically Unity tells us that the characters should navigate above the ground, but stand under the ground. Exactly what we don\u2019t want xD<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">How we fixed it was basically model out the sea, and instead of having one large \u201cplane\u201d covering the whole sea, we had just the sea with the island removed from it and \u201cbaked\u201d the new standing position and navigation mesh with a \u201chollow sea\u201d mesh. The mesh we made for this purpose looks like this:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/RcQomlaQoNJG59oW4XmPYchMzaTJMi5fj2rWIweKivmKSUgr2vw4LcVIImsP1KG8XtQXYtMICjNS3-_P2P80dYLgxSME2874yPaumDeWq9dGrUXP7DhCohZluLH_D6Bv80pSKo4F\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">It doesn\u2019t really change anything visually in-game, but it allows us to go around Unity bug\u2026 oh joy xD<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/LPKswM5piGyNPinAogb3IqPuXFO4UCa-hqdZpsGrvcCw-tSQ4BcAJDMQM4SJVZwE1C_YDaHEdM0db0YFtJbiO2z6LaDzqcGE0Vo_wF0htP2CLP5SYBaRQqbuF5K5VtJMhkdNmFBC\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">No pink under the ground! Apparently Unity doesn\u2019t draw the pink over the blue, so it\u2019s not even visible here, but it is there x)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But now, thankfully, we\u2019re past that issue and the crew saving and reloading is good to go :3<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/Jmtp6NoRPuBHMPfNZ5uLC-MCC9OAk459WVK7etw9KGKNpFNFTGFBsAN2zKJNgyUxvyHs8iQNejVQ2F6Icbb-vwo9GLs9pRdXBO2YH86gQMVfVp2-kOuFbBNM6pgDDKIHiWNZne0z\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Also I only now realized we had completely forgotten to add a male with vagina as a playable character option\u2026 sorry! ^^\u2019 Meet Erri Bronzeriver! And like with what is the theme with the Scraven (except Sarra), he also has a white pattern on his face.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/TUn2Ap_fVk9qK4JlUCkXFOsYRVV25VHOJSxv-7gpQVQksxC9irL7vDA5Ms7ghWFID2-3j6P3i3GkkSPXp5Lehl6c-Bandl9jRFdNDidnFXRSBkwqWGy049S2bJRZHsmpPjMpCJKU\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">We also improved the mesh gaps (visible on certain characters and acts) between character components, but there\u2019s still some artifacting here and there. Need to figure out what causes it before it can be fully eliminated ^^<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Things complete; Options menu, crew handling, new map system, and bunch of fixes and other things, and still missing; Conversation animations for the new character in crew camp.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That\u2019ll then wrap up the r5.24 ^^<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Back to work!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Cheers!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ruffleneck<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">P.s. The island poll is still open ( https:\/\/steamcommunity.com\/app\/944330\/discussions\/4\/1639792569853197014\/ ) and you can vote until the r5.24.2 comes out ^^<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week we\u2019ve been mostly wrapping up the features of r5.24.2 and fighting against pesky Unity Engine bugs (such as characters spawning in the \u201csea\u201d under the terrain because for some reason Unity prefers that navigation surface more than the one on the terrain). Here you can see the issue: The pink would be the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-25","post","type-post","status-publish","format-standard","hentry","category-gaze"],"_links":{"self":[{"href":"https:\/\/www.ruffleneck.com\/devblog\/index.php?rest_route=\/wp\/v2\/posts\/25","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ruffleneck.com\/devblog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ruffleneck.com\/devblog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ruffleneck.com\/devblog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ruffleneck.com\/devblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=25"}],"version-history":[{"count":1,"href":"https:\/\/www.ruffleneck.com\/devblog\/index.php?rest_route=\/wp\/v2\/posts\/25\/revisions"}],"predecessor-version":[{"id":26,"href":"https:\/\/www.ruffleneck.com\/devblog\/index.php?rest_route=\/wp\/v2\/posts\/25\/revisions\/26"}],"wp:attachment":[{"href":"https:\/\/www.ruffleneck.com\/devblog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=25"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ruffleneck.com\/devblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=25"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ruffleneck.com\/devblog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=25"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}