Language:
Discover
By Skill Level
By Category

UGameplayStatics::GetActorArrayAverageLocation

Choose your OS:

Syntax

static FVector GetActorArrayAverageLocation
(
    const TArray < AActor * > & Actors
)

Remarks

Find the average location (centroid) of an array of Actors

References

Module

Engine

Header

Runtime/Engine/Classes/Kismet/GameplayStatics.h

Source

Runtime/Engine/Private/GameplayStatics.cpp