Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

You could take a look at a couple of things:

  • Logical camera, which gives you the exact coordinates of every model contained within its frustum

  • RayShape::GetIntersection, which you could use to implement your own plugin that returns the name and position of the first model that intersects a line coming out of the camera.