RealDocs

20 results for "controller" in function

function
APlayerController::ClientTravel Engine

Travels the client to a different level or server address.

function
APlayerController::GetPawn Engine

Returns the pawn currently possessed by this controller, or `nullptr` if no pawn is possessed.

function
APlayerController::GetViewTarget Engine

Returns the actor the player's camera is currently targeting.

function
APlayerController::Possess Engine

Commands this controller to take control of the given pawn, calling `OnPossess` and triggering the pawn's `PossessedBy` callback.

function
AAIController::RunBehaviorTree AIModule

Starts executing a Behavior Tree on this controller, initializing the Blackboard automatically if the tree has one assigned.

function
APlayerController::SetInputMode (Game And UI) Engine

Hybrid input mode where both game input and UMG widget input are active simultaneously.

function
APlayerController::SetInputMode (Game Only) Engine

Switches input routing so that all input goes exclusively to the game (player controller and pawn) with no Slate/UMG widget focus.

function
APlayerController::SetInputMode (UI Only) Engine

Routes all input to Slate/UMG widgets only — game input (character movement, actions) is blocked entirely.

function
APlayerController::SetShowMouseCursor Engine

Shows or hides the hardware mouse cursor over the viewport.

function
APlayerController::UnPossess Engine

Releases control of the currently possessed pawn without destroying it, calling `OnUnPossess` on the controller and `UnPossessed` on the pawn.

function
AAIController::UseBlackboard AIModule

Initializes a Blackboard component on this controller using the specified asset, creating one if it doesn't already exist.

function
APawn::GetController Engine

Returns the controller currently possessing this pawn, or nullptr if unpossessed.

function
AGameModeBase::GetDefaultPawnClassForController Engine

Returns the pawn class to spawn for a given controller.

function
UGameplayStatics::GetPlayerController Engine

Returns the APlayerController for the given local player index, or null if no controller exists at that index.

function
UUserWidget::GetOwningPlayer UMG

Returns the APlayerController that owns this widget.

function
UGameplayStatics::GetPlayerCharacter Engine

Returns the ACharacter possessed by the given local player controller, or null if the controller has no pawn or the pawn is not an ACharacter.

function
UGameplayStatics::GetPlayerPawn Engine

Returns the APawn possessed by the given local player controller.

function
UAIBlueprintHelperLibrary::SimpleMoveToActor AIModule

Instructs a controller's pawn to move toward an actor using the navigation system.

function
UAIBlueprintHelperLibrary::SimpleMoveToLocation AIModule

Instructs a controller's pawn to move to a world location using the navigation system, with no callback or complex setup.

function
AGameModeBase::SpawnDefaultPawnFor Engine

Spawns the default pawn class for a controller at the given player start actor.