FSDeveloper Community

Go Back   FSDeveloper Community > Microsoft Flight Simulator development > Aircraft Design > Gauges

Gauges Use this forum for all your gauges related discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 25 Jul 2012, 08:09
COBS COBS is offline
  australia
Join Date: Aug 2009
Posts: 103
Tangent of an angle

I'm trying to get the Tan value of an angle to do a simple Trig
calculation.

The following does not return the Tan value.
HTML Code:
<GaugeString>%DVE %((A:Plane pitch radians, radians) (A:INCIDENCE ALPHA, radians) + tg)%!7.4f!% tan%</GaugeString>
Any suggestions ?

Cheers
Karol
Reply With Quote
  #2  
Old 25 Jul 2012, 08:27
chris's Avatar
chris chris is offline
  indonesia
Join Date: Jan 2009
Posts: 453
The variable is 'A:PLANE PITCH DEGREES,Radians'.
Reply With Quote
  #3  
Old 25 Jul 2012, 09:34
COBS COBS is offline
  australia
Join Date: Aug 2009
Posts: 103
Chris

Thank you so very much for your response.
I spent a week on and off on that problem , I tried quite a few variations.
Unfortunately I never stopped to think that it might be an incorrect variable.

Thanks to you , my instrument now works magnificently .

Cheers
Karol
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Eyepoint angle in XML? Naruto-kun Gauges 6 15 Nov 2011 13:12
Angle of Attack Limit JoeHallenbeck Flight dynamics 38 09 Oct 2011 09:51
Camera Angle mdm248111 Modeling 1 29 Mar 2009 17:32
Viewing angle José Bourgoignie GMax and 3DS Max 1 20 Nov 2005 00:34
how to adjust object angle of each viewport mfpaul GMax and 3DS Max 9 14 Nov 2005 14:48


All times are GMT -4. The time now is 21:04.

Kirsch designed by Andrew & Austin


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.