Hello all.
I found a strange thing. Ingame G-meter shows pisitive longitudinal acceletion when body-speed reduced
You can see it on this video between 11 and 13 seconds
It looks strange.
This video shows difference between rotation of acceleration vector by heading and velocity angle.
Left GG: heading
cos_h = Math.Cos(LFS.OSMain.Heading);
sin_h = Math.Sin(LFS.OSMain.Heading);
gg_x_h = x * cos_h + y * sin_h;
gg_y_h = -x * sin_h + y * cos_h;
Right GG: velocity vector
vel_vec = Math.Atan2(-LFS.OSMain.Vel.X, LFS.OSMain.Vel.Y);
cos = Math.Cos(vel_vec);
sin = Math.Sin(vel_vec);
gg_x = x * cos + y * sin;
gg_y = -x * sin + y * cos;
So. is it bug or feature?
I found a strange thing. Ingame G-meter shows pisitive longitudinal acceletion when body-speed reduced
You can see it on this video between 11 and 13 seconds
It looks strange.
This video shows difference between rotation of acceleration vector by heading and velocity angle.
Left GG: heading
cos_h = Math.Cos(LFS.OSMain.Heading);
sin_h = Math.Sin(LFS.OSMain.Heading);
gg_x_h = x * cos_h + y * sin_h;
gg_y_h = -x * sin_h + y * cos_h;
Right GG: velocity vector
vel_vec = Math.Atan2(-LFS.OSMain.Vel.X, LFS.OSMain.Vel.Y);
cos = Math.Cos(vel_vec);
sin = Math.Sin(vel_vec);
gg_x = x * cos + y * sin;
gg_y = -x * sin + y * cos;
So. is it bug or feature?