BallisticNG
 All Classes Namespaces Functions Variables Enumerations Properties
Classes | Public Member Functions | Public Attributes
ShipAI Class Reference
Inheritance diagram for ShipAI:
ShipBase

List of all members.

Classes

class  NavTargetData

Public Member Functions

override void OnInit ()
override void OnUpdate ()
void AIUpdate ()
void UpdateRubberBand ()
void UpdateSpreadBehaviour ()
void GetTargets ()
void SimulateInput ()
void SteerSlowdown ()
void UpdateComparisonValues ()
void ApplyForcesAndDrag ()
void OnWeaponInit (PickupBase pickup, ShipRefs ship)
void WeaponUpdate ()
Vector3 AiLookAheadTime (float currentSpeed, float time, bool navigateJunctions=true)
Section AiLookAheadSection (int amount)
float GetDistanceToTarget (Section targetSection, Section secondarySection)
 Discovers the distance from the ships current position to a target section.
void StablizeShip (float amount)

Public Attributes

const float PitThreshold = 50.0f
const float AbilityExceedMultMIn = 0.01f
const float JunctionExitGripTime = 0.6f
const float ShipAheadBrakeThreshold = 0.08f
List< SectionEnumeratedSections = > _enumeratedSections
AILogistics Logistics
AIShipAwarenessData[] AwarenessData
Section OverrideTarget
bool FlyBackwards
float aiRacingLineRand
float deadTimer
bool junctionDecided
bool aimingForJunction
bool aimingForRouteExit
Section targetJunctionSegment
Section targetJunctionStartSegment
float itemPlaceDelay
float itemPlaceTimer
Vector3 TargetPosition = > basePos
float AiLookSensitivity = 0.12f
float StartSpreadSpeed
NavTargetData NavTarget = new NavTargetData()
float PrevAngleToTarget
Section TargetAirbrakeSection
Quaternion TargetRotation
float TrackAngle
float PreviousTrackAngle
float DistanceToTarget
bool UsingRacingLineSystem
RacingLine AiLine
int CurrentLineIndex
float ToWallAmount
Vector3 FlatForward
bool ExceedingShipAbility
float AbilityExceedPercent
float AbilityExceedMultiplier
float SteerDelta
float SteerSigned
float SteerSign
Vector3 FlatSectionForward
float AngleToSection
float AngleToSectionSigned
bool UsingAirbrakes
float AirbrakeAmount
float SteerDrag
AiConfig.AiSetup Config
float LapT
float PlaceT
float AiWeaponUpdateTimer
float AiWeaponDropTimer
CustomAiBehaviour CustomBehaviour
 The custom behaviour attached to this Ai. If null then nothing is attached.
float AutopilotExitSteer = > _steerDelta

Member Function Documentation

float ShipAI.GetDistanceToTarget ( Section  targetSection,
Section  secondarySection 
) [inline]

Discovers the distance from the ships current position to a target section.


Member Data Documentation

The custom behaviour attached to this Ai. If null then nothing is attached.


The documentation for this class was generated from the following file: