Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 00037 00038 00039 00040 00041 00042 00043 00044 00045 00046 00047 00048 00049 00050 00051 00052 00053 00054 00055 00056 00057 00058 00059 00060 00061 00062 00063 00064 00065 00066 00067 00068 00069 00070 00071 00072 00073 00074 00075 00076 00077 00078 00079 00080 00081 00082 00083 00084 00085 00086 00087 00088 00089 00090 00091 00092 00093 00094 00095 00096 00097 |
/** * Copyright 1998-2011 Epic Games, Inc. All Rights Reserved. */ class UDKVehicleSimChopper extends SVehicleSimBase native; var() float MaxThrustForce; var() float MaxReverseForce; var() float LongDamping; var() float MaxStrafeForce; var() float LatDamping; var() float DirectionChangeForce; var() float MaxRiseForce; var() float UpDamping; var() float TurnTorqueFactor; var() float TurnTorqueMax; var() float TurnDamping; var() float MaxYawRate; var() float PitchTorqueFactor; var() float PitchTorqueMax; var() float PitchDamping; var() float RollTorqueTurnFactor; var() float RollTorqueStrafeFactor; var() float RollTorqueMax; var() float RollDamping; var() float StopThreshold; var() float MaxRandForce; var() float RandForceInterval; var() bool bAllowZThrust; /** If true, use full forward thrust force while changing directions, even for reverse or strafing */ var() bool bFullThrustOnDirectionChange; var() bool bShouldCutThrustMaxOnImpact; var bool bRecentlyHit; /** If true, strafing will increase the turn rate */ var bool bStrafeAffectsTurnDamping; var float StrafeTurnDamping; var float TargetHeading; var float TargetPitch; var float PitchViewCorrelation; var bool bHeadingInitialized; var vector RandForce; var vector RandTorque; var float AccumulatedTime; /** If bStabilizeStops=true, forces are applied to attempt to keep the vehicle from moving when it is stopped */ var() bool bStabilizeStops; /** Stabilization force multiplier when bStabilizeStops=true */ var() float StabilizationForceMultiplier; /** modified based on whether velocity is decreasing acceptably due to stabilization */ var float CurrentStabilizationMultiplier; /** OldVelocity saved to monitor stabilization */ var vector OldVelocity; /** When not driving, braking torque to apply to wheels. */ var float StoppedBrakeTorque; /** If non-zero, hard limits the speed of vehicle to AirSpeed times this number */ var float HardLimitAirSpeedScale; cpptext { virtual void ProcessCarInput(ASVehicle* Vehicle); virtual void UpdateVehicle(ASVehicle* Vehicle, FLOAT DeltaTime); virtual FVector StabilizationForce(ASVehicle* Vehicle, FLOAT DeltaTime, UBOOL bShouldStabilize); virtual FVector StabilizationTorque(ASVehicle* Vehicle, FLOAT DeltaTime, UBOOL bShouldStabilize); FLOAT GetEngineOutput(ASVehicle* Vehicle); virtual void GetRotationAxes(ASVehicle* Vehicle, FVector &DirX, FVector &DirY, FVector &DirZ); } defaultproperties { StabilizationForceMultiplier=1.0 CurrentStabilizationMultiplier=1.0 PitchViewCorrelation=0.0 StoppedBrakeTorque=5.0 } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |