Skip to content

grabbing non-spherical objects more precisely #236

Open
@r03ert0

Description

@r03ert0

Hello! I'm trying to grab objects that have non-spherical shapes. I'd rather avoid adding the physics library (here's code showing what I'm doing).

Sometimes, however, objects are very close to each other, and I end up grabbing the wrong one. Especially for slender objects – think a very flat box – the bounding sphere is a very bad approximation of the shape, and the area of grabbing errors is as large as the largest dimension of the box.

Is there a way of having something more precise than the sphere-collider? The readme mentions using the raycaster as an alternative to sphere-collider, but I didn't find more info about that...

thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions