To rephrase and repeat Chirone's question: Are you wanting to do this "interactive rotation" in Maya or Unity? It might be a good idea to ask your friend how he/she made this gun shooting.