I have an animation of a character aiming a handgun 'straight', and firing a handgun from that straight pose. I want to have the character be able to aim up and down and fire from those poses too. Think Resident Evil 1/2/3, Alone in the dark, etc. I want to save time on my animator by not having him do the aim/up down.
I'm trying to find a way to dynamically achieve this effect from code. Do I have to write an IK solver system or is there a more straight-forward way to do it?
I'm pretty sure there's a technical name for this kind of thing, I Googled aim offset, aim target, lookat target etc but all I came up with was UE4 links. We're using our own engine.
Looking at UE4 'aim offset' it looks very similar to what I want. I wonder how it's implemented internally.
I'm not asking for code but just ideas, hints or pointers are appreciated.