Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

Will building-blocks support collisions between grids? #2

Open
entropylost opened this issue Oct 27, 2020 · 1 comment
Open

Will building-blocks support collisions between grids? #2

entropylost opened this issue Oct 27, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@entropylost
Copy link
Contributor

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)

@bonsairobo
Copy link
Owner

bonsairobo commented Oct 27, 2020

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 OctreeDBVTs. Maybe implementing some traits from ncollide3d could also help.

@bonsairobo bonsairobo added the enhancement New feature or request label Nov 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants