I love the smell of UnrealEd crashing in the morning. – tarquin
Legacy:ONSHoverCraft
From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 09:49, 10 November 2006 by 208-40-182-138.pti.edu (Talk)
The base class for hovering vehicles. Extend this class to get a hovering Vehicle. This class is not the Manta. The Manta is a subclass called ONSHoverBike. This class holds all the functionality for a hovering vehicle.
Contents
Properties
Main
- array<vector> ThrusterOffsets
- An array holding where the thrusters are located.
- float HoverSoftness
- float HoverPenScale
- float HoverCheckDist
- float UprightStiffness
- float UprightDamping
- float MaxThrustForce
- float LongDamping
- float MaxStrafeForce
- float LatDamping
- float MaxRiseForce
- The max rate that this vehicle can rise upwards.
- float Updamping
- float TurnTorqueFactor
- float TurnTorqueMax
- float TurnDamping
- float MaxYawRate
- The maximum rate this vehicle can turn.
- float PitchTorqueFactor
- float PitchTorqueMax
- float PitchDamping
- float RollTorqueTurnFactor
- float RollTorqueStrafeFactor
- float RollTorqueMax
- float RollDamping
- float StopThreshold
- float MaxRandForce
- float RandForceInterval
Internal
- float HoverMPH
- float TargetHeading
- float TargetPitch
- bool bHeadingInitialized
- float OutputThrust
- float OutputStrafe
- Pawn OldDriver
Replicated
- HoverCrafteState HoverState
- The current hover state.
- HoverCraftState OldHoverState
- The previous hover state.
- KRigidBodyState ChassisState
- The state the chassis is in.
- bool bNewHoverState
- If true, the ChassisState needs to be updated.
Structs
HoverCraftState
Holds information on the properties of the HoverCraft
- vector ChassisPosition
- The position of the body of the vehicle.
- Quat ChassisQuaternion
- vector ChassisLinVel
- The linear velocity of the body.
- vector ChassisAngVel
- byte ServerThrust
- byte ServerStrafe
- int ServerViewPitch
- int serverViewYaw
Events
- simulated bool KUpdateState(out KRigidBodyState newState)
- Returns true if state is updated, false otherwise.
- simulated SVehicleUpdateParams()
- Updates KarmaParams to settings of HoverCraft (such as HoverCheckDist).
Functions
- simulated PostNetBeginPlay()
- Spawns the repulsors.
- Died(Controller Killer, class<DamageType> damageType, vector HitLocation)
- Destroys repulsors.
- simulated SpecialCalcFirstPersonView(PlayerController PC, out actor ViewActor, out vector CameraLocation, out rotator CameraRotation)
DefaultProperies
bFollowLookDir=True bCanHover=True bPCRelativeFPRotation=False
Known Subclasses
ONSHoverCraft +-ONSHoverBike