Analog Instruments

== Airspeed Indicator ==
Method 	Parameters	Description 	Example of use
instrument_analog_asi	bone 	Object's name you want to animate.	bone: 'my_object'
instrument_analog_asi	axis 	Axis of rotation. 	axis: {y:1}
instrument_analog_asi	min 	Minimum rotation angle in Degrees.	min: 0
instrument_analog_asi	max 	Maximum rotation angle in Degrees.	max: 180
instrument_analog_asi	units 	Indicated units. 'kts' or 'kph'. 	units: 'kts'
instrument_analog_asi	factor 	Needs description. 	factor: 100
instrument_analog_asi	table 	Interpolation table. 	table: [0.0, 90.0, 180.0]
==== Script Example: ====
instrument_analog_asi({
	bone: 'asi_needle_fwd', 
	axis: {y:1}, 
	min: 0,	
	max: 360, 
	units: 'kts', 
	factor: 10, 
	table: [0.0, 3.38, 6.76, 10.14, 13.52, 16.9, 34.9, 52.6, 70.9, 90.8, 107.3, 126.9, 144.7, 
	162.3, 180.5, 198.1, 216.0, 234.3, 252.2, 270.2, 289.0]
});
== Altitude Indicator ==
Method 	Parameters	Description 	Example of use
instrument_analog_alt	bone 	Object's name you want to animate.	bone: 'my_object'
instrument_analog_alt	axis 	Axis of rotation. 	axis: {y:1}
instrument_analog_alt	min 	Minimum rotation angle in Degrees.	min: 0
instrument_analog_alt	max 	Maximum rotation angle in Degrees.	max: 180
instrument_analog_alt	units 	Indicated units. 'ft' or 'km'. 	units: 'km'
instrument_analog_alt	factor 	Needs description. 	factor: 100
instrument_analog_alt	table 	Interpolation table. 	table: [0.0, 90.0, 180.0]
==== Script Example: ====
instrument_analog_alt({
	bone: 'alt_needle_fwd', 
	axis: {y:1}, 
	min: 0,	
	max: 360, 
	units: 'km', 
	factor: 1, 
	table: [0.0, 70.2, 143.7, 215.0, 289.0, 360.0]
});
== Clock ==
Method 	Parameters	Description 	Example of use
instrument_analog_clock	bone 	Object's name you want to animate. 	bone: 'my_object'
instrument_analog_clock	axis 	Axis of rotation. 	axis: {y:1}
instrument_analog_clock	input_ms 	Time input in miliseconds. 	input_ms: this.solar_time().time
instrument_analog_clock	units 	Indicated units. 'hours', 'minutes' or 'seconds'.	units: 'hours'
==== Script Example: ====
instrument_analog_clock({
	bone: 'clock_needle_hours_fwd', 
	axis: {y:1}, 
	input_ms: this.solar_time().time, 
	units: 'hours'
});
== Compass ==
Method 	Parameters	Description 	Example of use
instrument_analog_compass	bone 	Object's name you want to animate.	bone: 'my_object'
instrument_analog_compass	axis 	Axis of rotation. 	axis: {y:1}
==== Script Example: ====
instrument_analog_compass({
	bone:'compass_ring', 
	axis:{z:1}
});
== Vertical Speed Indicator (VSI) ==
Method 	Parameters	Description 	Example of use
instrument_analog_vsi	bone 	Object's name you want to animate.	bone: 'my_object'
instrument_analog_vsi	axis 	Axis of rotation. 	axis: {y:1}
instrument_analog_vsi	min 	Minimum rotation angle in Degrees.	min: 0
instrument_analog_vsi	max 	Maximum rotation angle in Degrees.	max: 180
instrument_analog_vsi	units 	Indicated units. 'fps' or 'mps'. 	units: 'kts'
instrument_analog_vsi	factor 	Needs description. 	factor: 100
instrument_analog_vsi	table 	Interpolation table. 	table: [0.0, 90.0, 180.0]
==== Script Example: ====
instrument_analog_vsi({
	bone:'vsi_needle_fwd', 
	axis:{y:-1}, 
	min:-180, 
	max:180, 
	units:'mps', 
	factor:12, 
	table:[0.0, 180.0]
});
== More Information ==
=== Understanding factor and table parameters ===
... pending to be written
The Functions
  The Functions