SetFlapLift Property

Usage:
   ObjectTemplate.SetFlapLift number

Argument values:

argument 1:    range is 0 to 5; most commonly 2

Description: This property sets the amount of lift for a Wing object as it is rotated.

SetFlapLift provides lift dependent on what the angle of the flap is, and so can be the complete opposite direction of the SetWingLift setting. This basically allows you to set a component that is always supplied as vertical lift for the plane so that if your flaps are set very sharp you will not lose all your vertical lift that you may have had. For example, if you made a airbrake flap, it would still have the lift to keep you up in air even if the flap is moved to a vertical or upside down position, but allow the flap lift to slow your forward motion down, etc.

Related properties: SetWingLift

Used in object types (and how often in each type): Wing (85%)

Used in a total of 45 .con files: Physics.con

Parent directories of these .con files: objects/Vehicles, Bf1942/Levels

Example: (from objects/Vehicles/Air/Mustang/Physics.con)
   rem *** MustangFlaps1 ***
   ObjectTemplate.Create Wing MustangFlaps1
   ObjectTemplate.SetNetworkableInfo Mustang_wing_info
   ObjectTemplate.Geometry Mustang_flp1_M1
   ObjectTemplate.SetMinRotation 0/-2/0
   ObjectTemplate.SetMaxRotation 0/2/0
   ObjectTemplate.SetMaxSpeed 0/30/0
   ObjectTemplate.SetAcceleration 0/120/0
   ObjectTemplate.SetPitchOffset 0.5
   ObjectTemplate.SetPositionOffset 1.862/-0.003/-0.15
   ObjectTemplate.SetFlapLift 3
   ObjectTemplate.SetRegulateToLift 4.91
   ObjectTemplate.SetWingToRegulatorRatio 1


Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.