Early bombs were just streamlined metal containers with high explosive inside, modern smart bombs need to be dropped close to their target and as the bomb falls there are fins on the bomb which can alter the aerodynamics of the bomb changing the direction it is going in. The direction change can be the result of a laser designator marking the target and the bomb heading towards the point of the bomb alternatively they can be guided down by a sensor in the nose of the bomb.
Latest Answers