Hi, I want to know what’s the difference between APlayerController::DeprojectScreenPositionToWorld and UGameplayStatics::DeprojectScreenToWorld function since both are very similar. Why UGameplayStatics class is not used still in this lecture
APlayerController::DeprojectScreenPositionToWorld
just calls the other.
what’s the functionality of UGameplayStatics class since even this class has the DeprojectScreenToWorld.
UGameplayStatics
is just a class full of static member functions (hence the name statics) that are useful for gameplay
Static class with useful gameplay utility functions that can be called from both Blueprint and C++