Zylann / voxelgame

Voxel world prototype made with Godot Engine
Other
515 stars 84 forks source link

Editing blocks? #51

Closed misterskullz closed 4 years ago

misterskullz commented 6 years ago

In the readme it mentions that the terrain can be edited, was this working but not implemented as a user control?

Zylann commented 6 years ago

The module provides edition through set_voxel and get_voxel, you have to code input yourself. This is where you can place or remove blocks in the demo: https://github.com/Zylann/voxelgame/blob/master/project/avatar_interaction.gd#L48

misterskullz commented 6 years ago

Oh geeze I'm blind. Thank you!