Hi,
I get that pointers can save memory when referring to a variable but I don’t understand why we store the pointer of Owner via GetOwner() and then essentially save Owner.GetActorLocation() to a FVector.
Wouldn’t you just use FVector ActorLocation = GetActorLocation() directly? Or am I missing something and we are saving memory somehow?
As someone who has done a bit of Java in the past, I’m trying to wrap my head around the concept of a pointer and when it should be used.