This is what a kinetic impactor deflection of asteroid 2024YR4 could look like. Launch in mid 2028, with collision with YR4 in Dec 2028. Note how close the impactor (green) remains to Earth (blue).