I’m not sure that “adaptive animations” is the correct term for the thing I’m referring to, but what I mean is when a character is interacting with something (in my situation a loot box) and I want him first to face the object that the character is interacting with and then play it’s animation. I first guessed that I have to get lerp the character rotation and location to face the object with a timeline but I don’t know how to make the character face an object. If someone has an idea of how’s that done I’d appreciate some help. Thanks in advance.
I implemented it by adding an arrow component which works for me but I do have this problem where the camera is not changing its position when not interacting from the intended position. I know the cause tho: the camera is attached to a spring arm which is attached to the mesh but when I lerp only the mesh there is this weird stuttering and overall glitching of the character.
Have a look / read up on how Control Rotation works and how pawns, the springarm and camera take advantage of it.
What I suggested is just a goofy example. We don’t even know if you’re doing 1st, 3rd, top-down, side scroller, 2D game…
