Missing function from USkinnedMeshComponent!

Hi!

I tried to call the function:


USkinnedMeshComponent::GetBonesWithinRadius( FVector Origin, float Radius, int32 TraceFlags, TArray<FName>& OutBones )

But looks like it was defined in SkinnedMeshComponent.h but was not implemented… well I’m using version 4.4.1!

What is the best way to implement this function?

For now I’ll use this instead:


FName FindClosestBone(FVector TestLocation, FVector* BoneLocation = NULL, float IgnoreScale = 0.f) const

In 4.8 its still missing…
but it should be an easy extension of FindClosestBone. Instead of returning the closest bone we return all bones whose distance is less than the radius.