sweepShapeAll#
Fully qualified name: isaacsim::physics::manager::sweepShapeAll
- void isaacsim::physics::manager::sweepShapeAll(
- registration::PathToken geometryPrimitivePath,
- const isaacsim::physics::registration::Float3 &unitDirection,
- float distance,
- registration::SweepHitReportFunction reportFunction,
- bool bothSides,
Reports hits produced by sweeping a USD geometric primitive through the scene.
Note
A backend may use and cache a convex approximation for a mesh query shape. This behavior is backend-specific.
Note
Exceptions that escape a backend query callback propagate to the caller and prevent dispatch to later backends.
- Parameters:
geometryPrimitivePath – [in] Encoded USD path of the
UsdGeomGPrimused as the sweep shape.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.