alpapaydin / Godot4-3D-Smooth-Destructible-Terrain

A basic demonstration of procedural smooth terrain generation in Godot 4 in 100 lines.
MIT License
14 stars 3 forks source link

Can't dig bug #8

Closed gregrylivingston closed 4 days ago

gregrylivingston commented 4 days ago

In some locations digging and placing dirt doesn't work.

I'm almost certain that this has to do with the chunk y-location calculation. If no chunk is found then no digging happens.

This shouldn't be that hard to trouble shoot but... I'm pretty sure I solved it in the resources below but I writing that game is a blur and I wasn't quite able to find the solution yet. https://github.com/gregrylivingston/Calm_Before_The_Storm/blob/main/Scenes/World/world.gd https://gregry.itch.io/save-the-animals-calm-before-the-storm

gregrylivingston commented 4 days ago

Resolved here: https://github.com/alpapaydin/Godot4-3D-Smooth-Destructible-Terrain/pull/9