lookAt#
Fully qualified name: isaacsim::core::includes::math::lookAt
- inline pxr::GfQuatf isaacsim::core::includes::math::lookAt( )#
Computes a look-at quaternion rotation.
Creates a rotation that orients an object to look at a target point. The up vector defines the world-space up direction for orientation.
Note
The up vector should not be parallel to the look direction
- Parameters:
camera – [in] Position of the camera/object
target – [in] Point to look at
up – [in] World-space up vector (typically {0,1,0})
- Returns:
pxr::GfQuatf The resulting look-at rotation