In Bayonetta, you can run in any direction and keep shooting at your target and looking at it while locked on. How did they do that animation? I want to implement it using Unity.
One thing I know is that even if pretty inefficient, you can make an empty gameObject that will be the gun, and then if locked on, then record that rotation then lock.
Im a bit confused about my answer, but please let me know any of your questions. Im not so good in unity myself, and I have just started 2-3 months ago.