Knowledge base
Knowledge base
Knowledge base
Free, anonymous browsing of Unreal Engine Blueprint examples, node references, and best practices. The same content the WoalzCraft plugin uses to generate Blueprints.
31 results for PlayerController
GetPlayerControllerUE 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoPure node. Only works when called INSIDE a Widget Blueprint. Equivalent to GetPlayerController(0) but scoped to the widget owner.
GetOwningPlayerControllerUE 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoRoutes human input to the possessed Pawn. Owns mouse cursor, viewport access, and input mapping.
Non-physical actor that possesses a Pawn and drives its input. PlayerController = human input; AIController = AI logic.
Pure node. Cast to AIController or PlayerController. Returns null if not possessed.
GetControllerUE 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoPure node. Call on PlayerController or Pawn. Cast to your BP_PlayerState subclass.
GetPlayerStateUE 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoGet subsystem: GetSubsystem(UEnhancedInputLocalPlayerSubsystem, GetPlayerController(0)). Call in EventBeginPlay on the Character or PlayerController. Priority: higher number overrides lower number mappings.
AddMappingContextUE 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoUGameplayStatics::GetPlayerController. Index 0 for single player.
Get Player ControllerUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoPattern: GetPlayerCharacter(PlayerIndex=0) → CastTo<BP_MyCharacter>(Object=ReturnValue) → Cast Succeeded → Get/Set variables on 'As BP_MyCharacter' output pin. Key: CastTo exec input='execute', exec output='Cast Succeeded'/'Cast Failed'. The cast output pin is named 'As BP_MyCharacter' (or whatever your class is). Connect this output to any node that needs the typed reference.
UGameplayStatics::GetPlayerCharacter.
Get Player CharacterUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo ago