RaycastHit#
Fully qualified name: isaacsim::physics::registration::RaycastHit
-
struct RaycastHit : public isaacsim::physics::registration::SceneQueryHitLocation#
Describes a raycast-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.
-
uint32_t prototypeIndex#
The point-instancer prototype index.
A value of
0xFFFFFFFFindicates that the hit object is not part of a point instancer.
-
isaacsim::physics::registration::Float3 normal#