A system for detection and location of an object, the system comprising: a sensor array having a plurality of sensor elements and being adapted for coupling to a support structure and to a processing unit (6, 7, 41); first and a second reflecting surfaces (12, 16) configured to rotate about an axis of rotation (18, 19); at least one motor (20, 21, 22) for rotating the first reflecting surface and the second reflecting surface about said axis of rotation; and a light source for projecting a light beam toward the first reflecting surface in a direction of the sensor array or in a direction opposite to the sensor array; said first reflecting surface being configured to intercept said light beam and to reflect the light beam toward said object when the first reflecting surface is directed toward the object, whereby at a given instant of time the light beam strikes the object and is reflected thereby as a second reflected light beam; and said second reflecting surface being configured to direct a field of view of the sensor array toward the object at said instant of time so as to intercept the second reflected light beam and to reflect the second reflected light beam toward the sensor array; and rotation of the first reflecting surface rotates the light beam so as to intersect objects that lie in a plane perpendicular to the axis of rotation (18, 19); the sensor array being attached to a support structure; characterized in that: the sensor array is an area sensor, and the sensor array is configured to represent the location of the detected object relative to the system as a vector, wherein the direction to the object is given by the direction of the vector and the distance to the object is calculated based on the length of the vector, the direction of the vector being represented by the line connecting between an origin, where the axis of rotation (18, 19) intersects the plane of the sensor array, and the geometric centre of a group of active sensor elements having an energy level that is higher than a predefined threshold. a sensor array having a plurality of sensor elements and being adapted for coupling to a support structure and to a processing unit (6, 7, 41); first and a second reflecting surfaces (12, 16) configured to rotate about an axis of rotation (18, 19); at least one motor (20, 21, 22) for rotating the first reflecting surface and the second reflecting surface about said axis of rotation; and a light source for projecting a light beam toward the first reflecting surface in a direction of the sensor array or in a direction opposite to the sensor array; said first reflecting surface being configured to intercept said light beam and to reflect the light beam toward said object when the first reflecting surface is directed toward the object, whereby at a given instant of time the light beam strikes the object and is reflected thereby as a second reflected light beam; and said second reflecting surface being configured to direct a field of view of the sensor array toward the object at said instant of time so as to intercept the second reflected light beam and to reflect the second reflected light beam toward the sensor array; and rotation of the first reflecting surface rotates the light beam so as to intersect objects that lie in a plane perpendicular to the axis of rotation (18, 19); the sensor array being attached to a support structure; the sensor array is an area sensor, and the sensor array is configured to represent the location of the detected object relative to the system as a vector, wherein the direction to the object is given by the direction of the vector and the distance to the object is calculated based on the length of the vector, the direction of the vector being represented by the line connecting between an origin, where the axis of rotation (18, 19) intersects the plane of the sensor array, and the geometric centre of a group of active sensor elements having an energy level that is higher than a predefined threshold.