Skip to main content

UHoverDroneMovementComponent

Overview

  • HoverDroneMovement component.

Metadata

FieldValue
Kindcomponent
EnvironmentCommon / Engine
Categorycomponents
ExtendsUSpectatorPawnMovement

Properties (29)

NameTypeDescription
CameraFovRangeFVector2DCamera FOV ranges the drone should expect to deal with
DirectRotationInputInterpSpeednumber
DirectRotationInputPitchScalenumber
DirectRotationInputYawScalenumber
DroneMaxAltitudenumberHeight limit for the drone.
DroneSpeedParamIndexinteger
DroneSpeedParametersFDroneSpeedParameters[]
FollowedActorPositionInterpSpeednumber
ForceFacingInterpInTimenumber
FullAirFrictionVelocitynumberControls how much Deceleration to apply based on velocity. At this velocity, air friction will be 100% of Deceleration. Uncapped.
InputFovScaleRangeFVector2DInput Value scaling that is mapped to the CameraFOVRange. Affects how intense inputs can be at certain FOV values.
MaintainHoverHeightPredictionTimenumberHow far ahead, in seconds, to check for and respond to upcoming ground height changes.
MaintainHoverHeightTolerancenumberWithin this absolute distance of DesiredHoverHeight, we are considered to be at the desired height and making no corrections.
MaxAllowedSpeedIndexinteger
MaxAllowedSpeedUpdatedFMaxAllowedSpeedUpdated
MaxPitchnumber
MaxPitchRotSpeednumberMaximum rotational speed, pitch
MaxSpeedHeightnumber
MaxSpeedHeightMultipliernumber
MaxYawRotSpeednumberMaximum rotational speed, yaw
MinAirFrictionnumber
MinHoverHeightnumberSet hover height must exceed this value.
MinPitchnumberValid Pitch range
MinSpeedHeightnumber
MovementAccelFactorFVectorMaximum rotational speed, yaw
RotAccelerationnumberRotational acceleration when turning.
RotDecelerationnumberRotational deceleration when not turning.
bSimulateRotationintegertrue to simulate rotation with rot acceleration, false to ignore rotation.
bUseFOVScalingboolean

Functions (1)

FunctionParametersReturnsDescription
SetCurrentFOVNewFOV: number-Sets Current FOV.