Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How to I find a players geographical location in a small area ?

I want to simulate an area using UE4 for an application that allows users to define their destinations (routing discovery)... I want to now know how I can locate a user by helping the Wi - Fi network. Can I do this using UE4 or how do I do it? what is the capabilities of the unreal engine 4 can help me to do that ?... please any help, note, or hint.

Product Version: UE 4.19
more ▼

asked Nov 21 '18 at 07:40 PM in Everything Else

avatar image

3 1 3

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

In recent versions of UE4 "Mobile Location Services" plugins appeared, but there only implementation from Android and iOS. They provide those extra nodes: https://api.unrealengine.com/INT/BlueprintAPI/Services/Mobile/Location/index.html

Note that those APIs use mixed methods (not just wi-fi) of getting geographical location (including from IP information) and that method used depends on OS and device capabilities as well as user settings of device, UE4 don't provide APIs to control that, other then defining expected accuracy,you would need to some C++ coding for more control.

For other systems you need to do C++ programming to access there geo location apis or GPS apis, or use GeoIP services which determents location from IP address, since globally registered IP addreses ranges are usally used in specific regions, it gives accuracy of at least a country to a city and city district depending on how used ISP network is structured, but it might also return false information as IP may be used outside of there usual region as well can be easily spoofed by using VPNs and proxies. As those GeoIP services (or else you gonna carry geoip database with the game, which is huge) are hosted via HTTP, so you need to either use HTTP UE4 module in C++ or popular VaRest plugin for blueprints.

more ▼

answered Nov 22 '18 at 12:28 AM

avatar image

35.9k 929 169 1105

avatar image roqaia Nov 23 '18 at 09:02 AM

What if a small area؟ ... I mean the whole area is covered by Wi-Fi ... Not accross the world,only for that area. So, this app will not work outside that area

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question