Jorbyte @joybyte.cool · Dec 6

when I make the height of the grid follow the curve an interesting "pinching" effect occurs when the curve changes its horizontal direction. It results in these sudden cliffs #gamedev #devlog

11 likes 1 replies

?

Replies

Jorbyte · Dec 6

I think it's because the grid vertex matches the height of the curve when sampling for the closest position, which limits it to only 2 dimensions. When the curve turns away from the grid's vertex, suddenly its closest point changes.