|
virtual void | Tick (float DeltaTime) override |
|
virtual void | SetupPlayerInputComponent (class UInputComponent *PlayerInputComponent) override |
|
void | MoveForward (float AxisValue) |
|
void | MoveStrafe (float AxisValue) |
| Updates velocity based on keyboard input. More...
|
|
void | MovePitch (float AxisValue) |
| Updates rotation based on mouse input. More...
|
|
void | MoveYaw (float AxisValue) |
| Updates velocity based on mouse input. More...
|
|
void | SwitchToTrain () |
| Switches to train driving mode.
|
|
|
UCameraComponent * | DroneCamera |
| Camera component for the Pawn.
|
|
bool | bIsJustPossessed |
|
bool | bStartPositionSet |
|
|
virtual void | BeginPlay () override |
|
◆ MovePitch()
void ADrone::MovePitch |
( |
float |
AxisValue | ) |
|
Updates rotation based on mouse input.
- Parameters
-
AxisValue | - float from mouse movement |
◆ MoveStrafe()
void ADrone::MoveStrafe |
( |
float |
AxisValue | ) |
|
Updates velocity based on keyboard input.
- Parameters
-
AxisValue | - float from keypress |
◆ MoveYaw()
void ADrone::MoveYaw |
( |
float |
AxisValue | ) |
|
Updates velocity based on mouse input.
- Parameters
-
AxisValue | - float from mouse movement |
The documentation for this class was generated from the following files: