How do i get the value of the Angle of Attack for a certain triangle or node? I want to write a lua script where if the angle of attack is higher than X then do something, else if Angle of Attack lower than Y then do something else. I cant find the angle of attack in the electrics section or the streams section of the Beamng wiki.
I don't think you can access this kind of stuff from LUA, I believe it is handled on the game engine side. You can only calculate it somehow.
Alright so Angle of Attack (α) is the angle between the relative Air and Fuselage reference line (FRL). There is an app in the game which shows you the relative air and then you need the pitch angle basically. Is this doable?
I was able to get the pitch, roll and yaw values. But i still need the angle of attack. You can see the angle of attack values in the debug menu of the vehicle but i cant seem to find where these values are coming from.