handleRaycast#

Fully qualified name: isaacsim::physics::manager::handleRaycast

void isaacsim::physics::manager::handleRaycast(
const registration::Float3 &origin,
const registration::Float3 &direction,
bool input,
)#

Dispatches an interaction raycast request to every active physics backend.

Note

Exceptions raised by a backend interaction callback propagate to the caller and prevent dispatch to later backends during that call.

Parameters:
  • origin – [in] Ray origin in world coordinates.

  • direction – [in] Ray direction in world coordinates.

  • input – [in] Whether the associated input control is active, such as a pressed mouse button.