What is used 4.26 to replace udks VSize()

Anyone know this. i have been all over looking for a function like that. Been looking for few days now and can not find what i am after. If someone could point me to the proper function, it sure be appreciated.

I need to get the players location and the models location and subtract them from each other and check if he is close enough to attach to the model.


Never used UDK but you can just get the Actor’s location (AActor::GetActorLocation | Unreal Engine Documentation) and use one of the dist methods on FVector FVector | Unreal Engine Documentation

1 Like

Thanks for the info. Found exactly what i was looking for. Did not see it when i was in the file. must have overlooked it, thanks again.