Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/DefaultPawn.h |
Include |
#include "GameFramework/DefaultPawn.h" |
class ADefaultPawn : public APawn
DefaultPawn implements a simple Pawn with spherical collision and built-in flying movement.
Name | Description | ||
---|---|---|---|
|
uint32: 1 |
bAddDefaultMovementBindings |
If true, adds default input bindings for movement and camera look. |
|
float |
BaseLookUpRate |
Base lookup rate, in deg/sec. Other scaling may affect final lookup rate. |
|
float |
BaseTurnRate |
Base turn rate, in deg/sec. Other scaling may affect final turn rate. |
|
MovementComponent |
DefaultPawn movement component |
Name | Description | |
---|---|---|
|
ADefaultPawn ( |
Name | Description | ||
---|---|---|---|
|
USphereCompo... |
GetCollisionComponent() |
Returns CollisionComponent subobject |
|
UStaticMeshC... |
GetMeshComponent() |
Returns MeshComponent subobject |
|
LookUpAtRate ( |
Called via input to look up at a given rate (or down if Rate is negative). |
|
|
MoveForward ( |
Input callback to move forward in local space (or backward if Val is negative). |
|
|
MoveRight ( |
Input callback to strafe right in local space (or left if Val is negative). |
|
|
MoveUp_World ( |
Input callback to move up in world space (or down if Val is negative). |
|
|
TurnAtRate ( |
Called via input to turn at a given rate. |
Name | Description | ||
---|---|---|---|
|
UPawnMovemen... |
GetMovementComponent() |
Return our PawnMovementComponent, if we have one. |
|
SetupPlayerInputComponent ( |
Allows a Pawn to set up custom input bindings. |
|
|
UpdateNavigationRelevance() |
Update all components relevant for navigation generators to match bCanAffectNavigationGeneration flag |
Name |
Description |
---|---|
CollisionComponentName |
Name of the CollisionComponent. |
MeshComponentName |
Name of the MeshComponent. |
MovementComponentName |
Name of the MovementComponent. |