blueprint
Spawn Friendly Character; Follow Me; Spawned AI Character follows Player (PawnSensing)
- Exposure: public
- UE Version: 4.27
ctrl + v
January 6, 2023
-
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. -
First commit
1 comment
-
- Create a Blueprint Character, rename it to Bp_Ai_Follows_Me and add PawnSensing.
- Click on PawnSensing and set Base Height to 64 (right window)
- Click on PawnSensing > Event Graph
- Right click > On See Pawn and recreate the Graph
- Click on "Class Defaults" in the top bar.
5.1 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.
- Create a Blueprint Character, rename it to Bp_Ai_Follows_Me and add PawnSensing.
WarLordY
January 6, 2023, 9:22 pm