| APawn::GetMovementComponent()
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/Pawn.h |
Include |
#include "GameFramework/Pawn.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Pawn.cpp |
virtual UPawnMovementComponent * GetMovementComponent() const
Return our PawnMovementComponent, if we have one. By default, returns the first PawnMovementComponent found. Native classes that create their own movement component should override this method for more efficiency.