overlapSphereAny#
Fully qualified name: isaacsim::physics::manager::overlapSphereAny
- bool isaacsim::physics::manager::overlapSphereAny(
- float radius,
- const isaacsim::physics::registration::Float3 &position,
Tests whether a sphere overlaps any object in the scene.
Note
Exceptions that escape a backend query callback propagate to the caller.
- Parameters:
radius – [in] Sphere radius in scene length units. Must be nonnegative.
position – [in] Sphere-center position in world coordinates.
- Returns:
trueif the sphere overlaps an object; otherwise,false.