Customise Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorised as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyse the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customised advertisements based on the pages you visited previously and to analyse the effectiveness of the ad campaigns.

No cookies to display.

[ad_1]

I’m having an issue with Y-sorting in an isometric Godot sport. Extra particularly, when my character strikes behind/in entrance of bigger objects than one normal tile dimension, the rendering is inconsistent. One facet often works as anticipated, whereas the opposite is all tousled.

I’ve drawn two illustrations for 2 variations of the identical downside to raised illustrate my level. One is utilizing a polygon for a collider, and the opposite is utilizing a phase:

enter image description here

enter image description here

I’ve requested this query on Reddit, and whereas the fellows over there have been extraordinarily form; they prompt to simply slice up my object so they don’t seem to be bigger than one tile dimension. I discover this resolution fairly difficult. It might work for easy objects like partitions, however the ones in query for me are absolutely interactive with 8+ animations. Slicing them up into 2 or 3 slices could be super work. To not point out it’s wholly inefficient. Think about your sport having 100 of those massive objects (like mine); slicing all of them up appears extra like a hack than an answer.

Now, curiously, Misplaced Recreation Dev over on YouTube was having the very same downside as me and was in a position to resolve it by including pivot “strains” as a substitute of factors:

YouTube video of Dev fixing isometric sorting points

Now, he is utilizing Unity (I believe…), however nonetheless. He is resolution is elegant, and easy. Is the same resolution potential in Godot? Or every other that will stop me to hack my in any other case singular objects into items?

I’m utilizing Godot 4.2 and the cell rendering engine. All nodes are on the illustration.

[ad_2]

Leave a Reply

Your email address will not be published. Required fields are marked *