Skip to content

Instantly share code, notes, and snippets.

@dorgonman
Created June 26, 2018 15:44
Show Gist options
  • Save dorgonman/baba67405e381f52f35f7112c7b610a7 to your computer and use it in GitHub Desktop.
Save dorgonman/baba67405e381f52f35f7112c7b610a7 to your computer and use it in GitHub Desktop.
wordpress_post1561_03.cpp
bool AActor::IsWithinNetRelevancyDistance(const FVector& SrcLocation) const
{
return FVector::DistSquared(SrcLocation, GetActorLocation()) < NetCullDistanceSquared;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment