Zylann / voxelgame

Voxel world prototype made with Godot Engine
Other
554 stars 89 forks source link

How would you add large structures to it? #83

Open JoseETeixeira opened 3 years ago

JoseETeixeira commented 3 years ago

Is there a simple way to add larger cube-based structures to it? So far I could only insert them with the same proportions as a regular cube on the demo. Is there a built-in way to scale? If not, how would one go from a large mesh to an instantiated structure on the voxel library with the correct scale?

JoseETeixeira commented 3 years ago

Actually managed to scale using MagicaVoxel. However it still only recognizes it as one standard-sized voxel when it comes to collisions and selectable area. Is there any way to auto-size them?

Zylann commented 3 years ago

If you want a voxel to be larger than other voxels, either make it composed of multiple voxels, or you have to use another node with scale (in which case it's on you to make sure overlapping issues are not a problem). See also https://github.com/Zylann/godot_voxel/issues/277