Heading of locations gone missing
So I'm making a custom map and I was told that the locations store the Heading and Zoom.
So far I though it was all good, but today after I went over 250 locations I though I could not get the exact count of locations anymore, until someone sent me the way using the API.
When I went to the results I noticed that Heading Pitch and Zoom were on 0.
After that I added 30 new locations and the new locations did store the Heading Pitch and Zoom.
Also I went back to my first location added, readjusted the Heading Pitch and Zoom and I see that information stored for that location.
What could have caused that all the previous locations lost that information? Do I need to make a check on the API page of the map before getting the Heading Pitch and Zoom stored correctly next time?
So far I though it was all good, but today after I went over 250 locations I though I could not get the exact count of locations anymore, until someone sent me the way using the API.
When I went to the results I noticed that Heading Pitch and Zoom were on 0.
After that I added 30 new locations and the new locations did store the Heading Pitch and Zoom.
Also I went back to my first location added, readjusted the Heading Pitch and Zoom and I see that information stored for that location.
What could have caused that all the previous locations lost that information? Do I need to make a check on the API page of the map before getting the Heading Pitch and Zoom stored correctly next time?
Follow this post
2
followers
I guess this is a bug, it's a problem loosing all the headings each time I edit a map.
How you may ask?
Well, if your heading is North, no problem, if your heading is South, no problem.
Where is the problem?
Well, someone doing math wrong on the code and WEST is EAST and EAST is WEST.
For instance, on locations where my stored Heading is 90º, I spawn on the map facing WEST which would be 270º
For Location for example where my heading is North West, lets say 330º when I spawn on the map I'm facing North East 30º
So somewhere the code is doing something like:
180º - Heading + 180º
Examples:
180 - 90 + 180 = 270 (Turns EAST into WEST)
180 - 315 + 180 = 45 (Turns NW into NE)
I know you guys may be busy or whatever. But if you need someone to help you guys with the coding, let me know. You can find me on Discord as @MrAmericanMike#8548 or on Twitter as @MrAmericanMike
Best,
Thanks.
thanks,
Pitch and Heading are working perfectly, not only while playing a round, but also when opening the map on the editor again.
Thanks once again, nice to know this is working. I will make sure to pick nice views on my Argentina map once again 😃