Hello, i’ve spent 3 days to find any way to do this in C++ and stuck on this part. Currently, i lerp whole player, but i need to lerp only PlayerMesh, it wasn’t a big deal so i ignored it after few hours of searching. Now i NEED to find PlayerMesh location to spawn projectiles, but currently i stuck at dead end:
UStaticMeshComponent* pMesh;
pMesh = Cast<UStaticMeshComponent>(GetOwner()->GetComponentByClass(UMeshComponent::StaticClass()));
So, now i think that i’m doing it wrong and more important → i can’t get it Rotation and Location.
Thank you!