Skip to content

[Question] How to retrieve nearest points between two PhysX rigid bodies (non-colliding distance query)? #4028

@hojae-io

Description

@hojae-io

Hi,

I want to retrieve the nearest points between two rigid bodies, even when they are not colliding.

For instance, when there are a sphere and a cylinder that are not in contact, I need to know the nearest points in each rigid body and the distance. (or even an arbitrary mesh generated from URDF)

What would be the most correct way to get this information? Is there any underlying PhysX function for it?

I would need them for constraint setting in an optimization problem.

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