Topic: playmaker actions

Hi,

I am trying to store gps coordinates using playmaker action: "Get GPS Coordinates" then store coordinates  into a vector2.

I cant seem to get any data written to the variable.  Stays at 0,0

I am using your sample texture scene and added a playmaker fsm to that.

Have tried using the gps emulator, this finds correct location but cant seem to store value.

I want to get users location and find the nearest object in a list to that.

Any ideas?

Thanks

Gus

Re: playmaker actions

Hello.

The problem is that GPS coordinates is not available in Start.
Use «Handle Location Event», to determine the availability of the coordinates (screenshot attached).

Post's attachments

Attachment icon img1.png 759.85 kb, 121 downloads since 2016-02-04 

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

Re: playmaker actions

OK I'll give this a try and let you know.

Thanks for quick reply.
Gus

Re: playmaker actions

Yes this worked. Thanks a lot for your help.
Gus