Luffy and Shanks are both great characters and have their own goals. Shanks inspired Luffy to become a pirate and influenced him without even trying to do so.
Shanks gave him the straw hat and placed his trust in his hands. But fans have noticed that they behave alike. Maybe he saw the same thing Roger saw in Shanks.