i do a LineTraceSingleByChannel and
if (HitResult.BoneName == How to i reference head bone)
{
}
i do a LineTraceSingleByChannel and
if (HitResult.BoneName == How to i reference head bone)
{
}
By name???
if (OutHit.BoneName == "head")
{
UE_LOG(LogTemp, Warning, TEXT("head bone HITTED"));
}
else
{
UE_LOG(LogTemp, Error, TEXT("NO head bone HITTED"));
}
thanks helped heaps