Update Skeletal Mesh Immediately

Hi,

I want to be able to set an object (SkeletalMeshActor) to the last frame of a certain animation using SetAnimPosition() and immediately have the mesh update to the position of that last frame. I’m doing this because I’m turning off the SkeletalMeshActor’s Tick() immediately afterwards.

What code do I need to run between SetAnimPosition() and SetComponentTickEnabled(false) to achieve this?

Thanks!

Not 100% sure - I believe a call to RefreshBoneTransforms() will do it. Not sure if you need to set bShouldDoEvaluation to true before calling…

Worked like a charm!

Thanks, OptimisticMonkey!