Voxelmetric / Voxelmetric1

Legacy Voxelmetric framework
Other
251 stars 96 forks source link

Separated voxel environments #39

Open KenneyNL opened 9 years ago

KenneyNL commented 9 years ago

(Please note; while this is a feature request of some sort I do absolutely understand that this might be huge undertaking, and possibly never make it in)

Allow for separated voxel environments from the main terrain. Simple example: a boat base, on which the player can place voxels. The boat (as it is a separated game object) can then move around the main world.

Example

Dalez commented 9 years ago

This would be awesome for sky islands as well, rather than putting more pressure on higher terrain which then creates sky islands, you could create a new voxel environment above y (say 300+ for example) and have only sky islands on that voxel environment.

Ecu commented 9 years ago

Technically, since a voxel volume uses Unity colliders (from what I understand), wouldn't this actually be quite simple? It would just require Voxelmetric being able to spin off new voxel 'worlds' separated from the main world.. and then you should be able to use Unity to detect collisions.

At least from my limited understanding of how said systems work. I've still been too preoccupied to really dive into it, but I wanted (and suggested in Gitter) a similar feature that I wanted to use for falling trees and the like.

alex-irt commented 9 years ago

@Ecu ah I didn't realize that this is what you meant before.

This is possible if the world is changed from a singleton (so there can be more one world) and various blockpos to vector 3 translations start taking into account the world's rotation and location. It would be pretty cool for detached terrain and vehicles but it will be quite low priority for a while.