Usage:
ObjectTemplate.SetPitchOffset
number
Argument values:
argument 1: | range is -2.5 to 5; most commonly 0.5 |
Description: This property sets the offset for additional pitch rotation for a Wing. Where SetRotation would rotate the geometry of the wing, the pitch offset rotates the wing itself. So if the pitch offset is positive, the wing would have passive lift, meaning you would not have to keep your joystick down to keep it in the air.
Related properties: SetRotation
Used in object types (and how often in each type): Wing (34%)
Used in a total of 24 .con files: Physics.con
Parent directories of these .con files: objects/Vehicles, Bf1942/Levels
Example: (from objects/Vehicles/Air/Spitfire/Physics.con)
rem *** SpitfireAirbreakLeft ***
ObjectTemplate.Create Wing SpitfireAirbreakLeft
ObjectTemplate.SetNetworkableInfo Spitfire_wing_info
ObjectTemplate.Geometry spitfire_airbreak_left_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.539/-0.05/0.883
ObjectTemplate.SetFlapLift 2
ObjectTemplate.SetRegulateToLift 4.91
ObjectTemplate.SetWingToRegulatorRatio 1
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.