Chailotl / osuve

Open-Source Unity Voxel Engine
GNU General Public License v3.0
46 stars 9 forks source link

Update mesh when destroying block #20

Closed Nolat closed 5 years ago

Nolat commented 6 years ago

Hi, I'm updating chunk meshes, when I'm destroying a block. But block in border chunk won't update, but border chunk are calling the GenerateMesh function.

Do you have any idea why is this not working ?

FireImp834 commented 6 years ago

No but I might be able to help you with it. thanks for letting me know. Write me a letter back please

On Wed, Jun 6, 2018, 4:07 AM Nolat notifications@github.com wrote:

Hi, I'm updating chunk meshes, when I'm destroying a block. But block in border chunk won't update, but border chunk are calling the GenerateMesh function.

Do you have any idea why is this not working ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Rausy/osuve/issues/20, or mute the thread https://github.com/notifications/unsubscribe-auth/AGvERaxmDPWFUGIazq9V_w4aN7mcKMsZks5t55u8gaJpZM4UcRcT .

Nolat commented 6 years ago

@FireImp834 It would be nice 😄

Chailotl commented 6 years ago

Updating chunks through modification (adding/destroying blocks) has not been rigorously tested yet, and mesh generation in between borders is a known issue.

More accurately it's a temporarily removed feature (?) as I'm trying to make it compatible with grass blocks that can check for blocks in a diagonal chunk to generate side grass textures.

(Or this might be unpushed code I'm working on, it's been a while since I last checked on this)

Nolat commented 6 years ago

Hi, how could I been able to enable this feature ?

Chailotl commented 6 years ago

I don't recall if this was something I pushed yet or not, so take it with a grain of salt. If I did, it's either commented out and incompatible with the current code changes or outright deleted, again, don't take my word for it.

I'll check this issue out later when I get back home.

Nolat commented 6 years ago

Ok Thanks !

Nolat commented 6 years ago

I didn't find anything in your code, can you tell me if you find a way to fix this issue. Thanks

Nolat commented 6 years ago

Hi,

Did you find something ?

Thanks