What is the algorithm behind superimposition of two structures based on sequence alignment?

Hi:

I am able to superimpose two or more structures based on sequence homology. I wanted to know how the sequence alignment is translated into superimposed structure. More precisely, are the backbone of sequence that are identical or homologous force to stay together? Are the orientation of amino acid side chain taken into account during this process?

Thank you for your input,

Stephanie