sweepSphereAll#
Fully qualified name: isaacsim::physics::manager::sweepSphereAll
- void isaacsim::physics::manager::sweepSphereAll(
- float radius,
- const isaacsim::physics::registration::Float3 &origin,
- const isaacsim::physics::registration::Float3 &unitDirection,
- float distance,
- registration::SweepHitReportFunction reportFunction,
- bool bothSides,
Reports hits produced by sweeping a sphere through the scene.
Note
Exceptions that escape a backend query callback propagate to the caller and prevent dispatch to later backends.
- Parameters:
radius – [in] Sphere radius in scene length units. Must be nonnegative.
origin – [in] Initial sphere-center position in world coordinates.
unitDirection – [in] Normalized sweep direction.
distance – [in] Maximum sweep distance in scene length units. Must be nonnegative.
reportFunction – [in] Callback invoked for each hit. Returning
truecontinues the current backend’s traversal; returningfalsestops it.bothSides – [in] Whether both sides of mesh triangles participate in the query.