SweepHit#

Fully qualified name: isaacsim::physics::registration::SweepHit

struct SweepHit : public isaacsim::physics::registration::SceneQueryHitLocation#

Describes a sweep-query hit.

Public Members

isaacsim::physics::registration::Float3 normal#

The hit-surface normal in world space.

isaacsim::physics::registration::Float3 position#

The hit position in world space, in scene length units.

float distance#

The query travel distance to the hit, in scene length units.

For a raycast, this is the distance along the ray. For a sweep, this is the distance traveled by the query shape along the sweep direction.

uint32_t faceIndex#

The hit face index when the collision shape is a triangle mesh.

PathToken material#

The encoded USD path of the material assigned to the hit surface.

PathToken collision#

The encoded USD path of the collision shape.

PathToken rigidBody#

The encoded USD path of the rigid body.

uint32_t prototypeIndex#

The point-instancer prototype index.

A value of 0xFFFFFFFF indicates that the hit object is not part of a point instancer.