Hi Collin, great job building this.
I'm not familiar with spatial geometry, and I've tried experimenting your Octree for getting objects near another object.
When I run octree.search(object, 100)[0].position.distanceTo(object), I can get figures ranging up to 1300 as a result (objects are scattered randomly). Can that be normal behavior? I'll dig into it again, but if you have an idea why that might happen, that would sure help!
Hi Collin, great job building this.
I'm not familiar with spatial geometry, and I've tried experimenting your Octree for getting objects near another object.
When I run
octree.search(object, 100)[0].position.distanceTo(object), I can get figures ranging up to1300as a result (objects are scattered randomly). Can that be normal behavior? I'll dig into it again, but if you have an idea why that might happen, that would sure help!