Skip to content

Distance to searched object greater than radius #7

@dbismut

Description

@dbismut

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions