Of course if two morphisms of complexes are homotopic their induced maps coincide, but I'm wondering about the converse: if the induced maps on the cohomologies coincide, when does that imply that the morphisms are homotopic?

I've played around with it a bit and I think it might be true for complexes of projective modules? But I'm not sure... are there any well-known results regarding this?