How to get the geographical location of mobile player?

On mobile phones, apps usually have the capability to get information about their device/player such as:

1.Real location of device/player on earth

2.Time of day

3.Device information (such as OS being iOS or Android and possible version number)

Is this information at all retrievable in Unreal Engine 4 through blueprints? If there is no native support for this type of functionality, are there then plugins that can do this for an UE4 blueprint project?

First you must enable the plug “Mobile Location Service -xxx”, depand on your mobile set system
In blueprint empty space ,Righ Click → Popup Menu - Service - Mobile - Location

There are some points to use the GPS module

such as : GetLocationServiceImpl → InitLocationServices → StartLocationServices → BindEventToOnLocationChanged (Target is the return of GetLocationServiceImpl )

1 Like