Did you think to check out the header file for FVector?
FORCEINLINE float FVector::Size() const
{
return FMath::Sqrt( X*X + Y*Y + Z*Z );
}
float vectorLength = someVector.Size();
Did you think to check out the header file for FVector?
FORCEINLINE float FVector::Size() const
{
return FMath::Sqrt( X*X + Y*Y + Z*Z );
}
float vectorLength = someVector.Size();