Usage:
AiTemplatePlugIn.DrivePitchControl
name
Argument values:
argument 1: | PIPitch; most commonly PIPitch |
Related properties: AimHorizontalControl, AimRollControl, AimThrottleControl, AimVerticalControl, DriveRollControl, DriveThrottleControl, DriveTurnControl, PitchLookAhead, PitchSensitivity, RollLookAhead, RollSensitivity, ThrottleLookAhead, ThrottleSensitivity, YawLookAhead
Used in object types (always present 100% of the time): ControlInfo3d
Used in a total of 32 .con files: Objects.con
Parent directory of these .con files: objects/Vehicles
Example: (from objects/Vehicles/Air/Mosquito/Ai/Objects.con)
AiTemplatePlugIn.Create ControlInfo3d MosquitoCtrl
AiTemplatePlugIn.DriveTurnControl PIYaw
AiTemplatePlugIn.DriveThrottleControl PIThrottle
AiTemplatePlugIn.AimHorizontalControl PIYaw
AiTemplatePlugIn.AimVerticalControl PIPitch
AiTemplatePlugIn.DriveRollControl PIRoll
AiTemplatePlugIn.DrivePitchControl PIPitch
AiTemplatePlugIn.AimRollControl PIRoll
AiTemplatePlugIn.AimThrottleControl PIThrottle
AiTemplatePlugIn.ThrottleSensitivity -3.0
rem aiTemplatePlugIn.pitchSensitivity -0.5
AiTemplatePlugIn.PitchSensitivity -1.0
AiTemplatePlugIn.RollSensitivity -1.3
AiTemplatePlugIn.YawSensitivity 0.3
AiTemplatePlugIn.ThrottleLookAhead 1.0
AiTemplatePlugIn.PitchLookAhead 1.2
AiTemplatePlugIn.RollLookAhead 1.5
AiTemplatePlugIn.YawLookAhead 0.3
AiTemplatePlugIn.ThrottleScale 1.0
rem *** Angle in radians ***
AiTemplatePlugIn.PitchScale 0.0010
AiTemplatePlugIn.RollScale 0.0750
AiTemplatePlugIn.YawScale 0.0750
AiTemplatePlugIn.MaxRollAngle 0.65
AiTemplatePlugIn.MaxClimbAngle 0.20
Go to the AiTemplatePlugIn properties list page, AiTemplatePlugIn page, All Properties list, or Main scripting page.