building-blocks
building-blocks copied to clipboard
Will building-blocks support collisions between grids?
This project seems very nice; I'm probably going to be using it as a voxel engine for my game (https://github.com/iMplode-nZ/Autofactory), but I need to run collisions between two different voxel grids, in which the grids can be split up. Will building-blocks support this or will I have to implement it myself? (Side note: It seems that this is most optimal in an octree representation of voxels)
BB does have an OctreeDBVT
structure here if you enable the "building_blocks_partition/ncollide" feature.
Right now it only supports ray-casting and a more general visitor pattern.
I think it could eventually support collisions between two OctreeDBVT
s. Maybe implementing some traits from ncollide3d
could also help.