ClarkThyLord / Voxel-Core

Voxel plugin for the Godot game engine!
https://godotengine.org/asset-library/asset/465
MIT License
453 stars 28 forks source link

VoxelWorldSize does not exist #50

Closed twoco closed 2 years ago

twoco commented 2 years ago

In your examples you refer to Voxel.VoxelWorldSize. But this does not exist. (Invalid get index.)

Adding this to voxel.gd fixes it. Should be maybe variable.

const VoxelWorldSize = 0.5

Great project btw. 👍

ClarkThyLord commented 2 years ago

Good catch, one of the recent pull request refectored Voxel class reworking the way VoxelWorldSize is defined. I refectored the plugin code, but forgot to refactor the examples I'll take a look later, thanks 🙌

ClarkThyLord commented 2 years ago

Examples have been refactored, and are working again, thanks again!