SetWingLift Property

Usage:
   ObjectTemplate.SetWingLift number

Argument values:

argument 1:    range is 0 to 9.5; most commonly 0

Description: This property sets the initial amount of lift for a Wing object.

This and the SetFlapLift property set the "strength" of the wing. As the speed of the wing increases, the effect they have on the parent object does as well. You can have a negative value for SetWingLift, but not SetFlapLift.

SetWingLift always provides lift in same direction, e.g. if you have a flap that can rotate 360 degrees it does not matter what rotation your flap is set to, it will always provide lift up (or at different angle if you have positioned it with a SetRotation) relative to the model. In a plane the lift is always pulling you towards the top of the model, not the world (e.g., when the model is upside down, the lift pulls you towards the ground).

Related properties: SetFlapLift

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

Used in a total of 48 .con files: Physics.con, Weapons.con

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

Example: (from objects/Vehicles/Air/AichiVal/Physics.con)
   rem *** AichiValBodyWing ***
   ObjectTemplate.Create Wing AichiValBodyWing
   ObjectTemplate.SetAutomaticReset 1
   ObjectTemplate.SetPositionOffset 0/0/-0.1
   ObjectTemplate.SetWingLift 2
   ObjectTemplate.SetFlapLift 0


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