AM 2.1.1 - geo_rotate_coordinates inconsistency

Discuss suspected bugs with other users and Sim Innovations Staff

Moderators: russ, Ralph

Post Reply
Message
Author
User avatar
Crashtender
Posts: 127
Joined: Fri Dec 18, 2015 10:24 am

AM 2.1.1 - geo_rotate_coordinates inconsistency

#1 Post by Crashtender »

For the 'geo_rotate_coordinates' to be consistent with compass coordinates (more intuitive) the code needs to be changed to

Code: Select all

function geo_rotate_coordinates(degrees, radius)

	local angle_rad = math.rad(degrees + 90)
	
	local x = radius * math.cos(angle_rad)
	local y = radius * math.sin(angle_rad)
	
	return x, y
	
end
This one has been reported during version 2.1.0 and hasn't been changed since.
(Probably due to my heavily over coded suggestion :? )
Still, to keep things logic and in accordance to an aviation intuitive way of handling I report this one again.
Any chance this will be changed in the next update?
(After this I'll stop nagging about it :D )
A day not flown is a day not crashed...

User avatar
Ralph
Posts: 7926
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: AM 2.1.1 - geo_rotate_coordinates inconsistency

#2 Post by Ralph »

I'll put it on the list for 2.1.2.

Post Reply