<track id="5sipw"><track id="5sipw"><span id="5sipw"></span></track></track><delect id="5sipw"></delect>

<meter id="5sipw"></meter>

  • <meter id="5sipw"><ins id="5sipw"><strike id="5sipw"></strike></ins></meter><nobr id="5sipw"><input id="5sipw"><ruby id="5sipw"></ruby></input></nobr>

      1. <cite id="5sipw"></cite>

          Pawn

          Pawn

          Windows
          MacOS
          Linux
          On this page

          Actions

          Detach from Controller Pending Destroy

          Call this function to detach safely pawn from its controller, knowing that we will be destroyed soon.

          Target is Pawn

          Get Base Aim Rotation

          Return the aim rotation for the Pawn. If we have a controller, by default we aim at the player's 'eyes' direction that is by default the Pawn rotation for AI, and camera (crosshair) rotation for human players.

          Target is Pawn

          Get Control Rotation

          Get the control rotation. This is the full aim rotation, which may be different than a camera orientation (for example in a third person view), and may differ from the rotation of the controlled Pawn (which may choose not to visually pitch or roll, for example).

          Target is Controller

          Get Controlled Pawn

          Return the Pawn that is currently 'controlled' by this PlayerController

          Target is Controller

          Get Controller

          Returns controller for this actor.

          Target is Pawn

          Get Desired Rotation

          Get the desired pawn target rotation

          Target is Controller

          Get Focal Location

          Returns the location the PlayerController is focused on. If there is a possessed Pawn, returns the Pawn's location. If there is a spectator Pawn, returns that Pawn's location. Otherwise, returns the PlayerController's spawn location (usually the last known Pawn location after it has died).

          Target is Player Controller

          Get Movement Base Actor

          Gets the owning actor of the Movement Base Component on which the pawn is standing.

          Target is Pawn

          Get Movement Component

          Return our PawnMovementComponent, if we have one.

          Target is Pawn

          Get Nav Agent Location

          Basically retrieved pawn's location on navmesh

          Target is Pawn

          Get Spectator Pawn

          Get the Pawn used when spectating. nullptr when not spectating.

          Target is Player Controller

          Get View Target

          Get the actor the controller is looking at

          Target is Controller

          Is Bot Controlled

          Returns true if controlled by a bot.

          Target is Pawn

          Is Controlled

          Is Controlled

          Target is Pawn

          Is Local Controller

          Returns whether this Controller is a local controller.

          Target is Controller

          Is Local Player Controller

          Returns whether this Controller is a locally controlled PlayerController.

          Target is Controller

          Is Locally Controlled

          Returns true if controlled by a local (not network) Controller.

          Target is Pawn

          Is Pawn Controlled

          Check if this actor is currently being controlled at all (the actor has a valid Controller)

          Target is Pawn

          Is Player Controlled

          Returns true if controlled by a human player (possessed by a PlayerController).

          Target is Pawn

          Is Player Controller

          Returns whether this Controller is a PlayerController.

          Target is Controller

          Look Up at Rate

          Called via input to look up at a given rate (or down if Rate is negative).

          Target is Default Pawn

          Move Forward

          Input callback to move forward in local space (or backward if Val is negative).

          Target is Default Pawn

          Move Right

          Input callback to strafe right in local space (or left if Val is negative).

          Target is Default Pawn

          Move Up World

          Input callback to move up in world space (or down if Val is negative).

          Target is Default Pawn

          Possess

          Handles attaching this controller to the specified pawn. Only runs on the network authority (where HasAuthority() returns true).

          Target is Controller

          Set Control Rotation

          Set the control rotation.

          Target is Controller

          Set Initial Location and Rotation

          Set the initial location and rotation of the controller, as well as the control rotation. Typically used when the controller is first created.

          Target is Controller

          Spawn Default Controller

          Spawn default controller for this Pawn, and get possessed by it.

          Target is Pawn

          Turn at Rate

          Called via input to turn at a given rate.

          Target is Default Pawn

          Un Possess

          Called to unpossess our pawn for any reason that is not the pawn being destroyed (destruction handled by PawnDestroyed()).

          Target is Controller

          Update Stereo Atlas

          Update Stereo Atlas

          Target is Stereo Capture Pawn

          Categories

          Components

          Components

          Input

          These are nodes that provide input from various sources (keyboard, mouse, gamepad etc.)

          Select Skin
          Light
          Dark

          Welcome to the new Unreal Engine 4 Documentation site!

          We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

          We'll be sure to let you know when the new system is up and running.

          Post Feedback
          网上捕鱼平台