Difference between revisions of "Sim/flightmodel/parts/tire vrt def veh"

From X-Plane SDK
Jump to: navigation, search
m (1 revision)
(No difference)

Latest revision as of 23:47, 19 April 2009

This page was imported from the previous wiki engine. It needs a review and cleanup of formatting. Please see this page for more information.
In x-plane 860 beta 9 there will be three new datarefs:

sim/flightmodel/parts/tire_x_no_deflection sim/flightmodel/parts/tire_y_no_deflection sim/flightmodel/parts/tire_z_no_deflection

These are 10-item float arrays...for the 0-9th gear. They give you the center of each wheel (well, the center of the truck I think for multi-wheel trucks but I am not 100% sure) taking into account the landing gear raise/lowering.

The dataref

sim/flightmodel/parts/tire_vrt_def_veh is the "squishing" delta due to teh struts, again a 10 item array. Positive numbers mean the gear are squished more. (So it should be added to sim/flightmodel/parts/tire_y_no_deflection

since the +y axis is up, and more squish means the gear is higher up relative to the CG.