playMaker

Author Topic: Project Location to Map  (Read 816 times)

adamt

  • Playmaker Newbie
  • *
  • Posts: 14
    • View Profile
Project Location to Map
« on: May 07, 2015, 10:37:27 AM »
Hi, I've been trying to get a map with the users location as a marker using the Project Location to Map action. Although after having trouble getting it working I started to try and figure out what was going wrong.

So I set everything up, and set a custom GPSLocation so I could test it on my computer. When I adjust the the GPSLocation values in realtime while it's playing, it doesn't seem to make a difference!

The only thing that seems to move the marker is the screen region Min X and Y.

Any help/ideas?

Cheers  :)

adamt

  • Playmaker Newbie
  • *
  • Posts: 14
    • View Profile
Re: Project Location to Map
« Reply #1 on: May 08, 2015, 06:02:17 AM »
So I got it working! It was the world to screen/screen to world stuff messing me up. It would be ideal to be able to set the camera it uses for the screen region since my map actually goes off screen.

My work around was to have a camera with the MainCamera tag, that's what the project location uses, then another camera thats attached to the map marker, so it moves with it, without the MainCamera tag and uses depth to be placed in front.

I thought setting up a working GPS map would be alot harder! :D