Animation Curves/UAnimInstance in C++

Hi, I’m trying to get the curve data from animations from within a C++ class.

I found this

 UAnimInstance * Animation = (Mesh->GetAnimInstance());

But when entering that in BeginPlay, I get errors that Animation is incomplete. I’m guessing it can’t find the UAnimInstance class, but I can’t figure out how to solve that.

I tried adding #include “AnimInstance.h”, but it says it can’t find the file.

Any ideas?

#include “Animation/AnimInstance.h”
Turns out it’s in the Animation folder. That did the trick. :slight_smile: