👩💻 Join our community of thousands of amazing developers!
keywords: UGameplayStatics, GameplayStatics Parameter WorldContextObject must be an UObject that can get UWorld, otherwise the following gameplay’s functions would not work. /** * Counts how many grass foliage instances overlap a given sphere. * * @param Mesh The static mesh we are interested in counting. * @param CenterPosition The center position of the sphere. * @param Radius The radius of the sphere. * * @return Number of foliage instances with their mesh set to Mesh that overlap the sphere...