Topic: Make map rotate instead of player

I'm working on a navigation system, I have it pretty much finished. Just need to make the map rotate instead of the player.

You know how when you use a GPS system and as you move and turn, the map rotates around so you keep "moving forward".

I was thinking of using OnlineMapsUtils.Angle2D() and rotating the map by the difference but it would take the position of the player and destination (not the current road you are on) so it won't work.

Perhaps using the "points" in the directions?

Re: Make map rotate instead of player

Hello.

If you want to see at the next point, then yes, you need to find the angle between the player and the point (OnlineMapsUtils.Angle2D).
But I think that this is wrong.
Much better to rotate the camera by compass.
Examples is attached.

Post's attachments

Attachment icon RotateMapInsteadMarker.cs 448 b, 189 downloads since 2015-10-07 

Attachment icon RoteteCameraByGPSExample.cs 337 b, 159 downloads since 2015-10-07 

Kind Regards,
Infinity Code Team.

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