Hey!
Thanks alot for so detailed answer.
As you suggested, I made the VolumeLocation variable of type FVector private field:
private:
FVector VolumeLocation;
and initalized it in BeginPlay() function (also tried constructor to set the default value for it), but still when I log the value of this private field, it keeps outputting me values like
X=-0.000 Y=0.000 Z=-431595552.000
X=157570240.000 Y=0.000 Z=-431595552.000
About the goal of this function (why I’ve added FVector reference as it’s input) is because I want to change the value of VolumeLocation variable in Tick function over time using box extent and world location information to randomize the location where stones should fall.