blueprint

Spawn Friendly Character; Follow Me; Spawned AI Character follows Player (PawnSensing)

  • Exposure: public
  • UE Version: 4.27

WarLordY

January 6, 2023, 9:06 pm

Click the button above, it will automatically copy blueprint in your clipboard. Then in Unreal Engine blueprint editor, paste it with ctrl + v
Versions
January 6, 2023
  1. 1. Create a Blueprint Character, rename it to Bp_Ai_Follows_Me and add PawnSensing.
    2. Click on PawnSensing and set Base Height to 64 (right window)
    3. Click on PawnSensing > Event Graph
    4. Right click > On See Pawn and recreate the Graph
    5. Click on "Class Defaults" in the top bar. See icon
    6. Change Auto Posseses AI to "Placed in World or Spawned".

    Optional: In the "Capsule Compontent" you can change the RADIUS the avoid mesh overlapping with the player.

  2. First commit

    See

1 comment

  • WarLordY

    January 6, 2023, 9:22 pm

    1. Create a Blueprint Character, rename it to Bp_Ai_Follows_Me and add PawnSensing.
      1. Click on PawnSensing and set Base Height to 64 (right window)
      2. Click on PawnSensing > Event Graph
      3. Right click > On See Pawn and recreate the Graph
      4. Click on "Class Defaults" in the top bar. 5.1 Change Auto Posseses AI to "Placed in World or Spawned".
        1. Optional: In the "Capsule Compontent" you can change the RADIUS the avoid mesh overlapping with the player.