overlapBoxAny#

Fully qualified name: isaacsim::physics::manager::overlapBoxAny

bool isaacsim::physics::manager::overlapBoxAny(
const isaacsim::physics::registration::Float3 &halfExtent,
const isaacsim::physics::registration::Float3 &position,
const isaacsim::physics::registration::Float4 &rotation,
)#

Tests whether an oriented box overlaps any object in the scene.

Note

Exceptions that escape a backend query callback propagate to the caller.

Parameters:
  • halfExtent – [in] Box half-extents in scene length units. Each component must be nonnegative.

  • position – [in] Box-center position in world coordinates.

  • rotation – [in] Box orientation as an (x, y, z, w) quaternion.

Returns:

true if the box overlaps an object; otherwise, false.