Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/robertcorponoi/unreal-follow-lead-ai
Demo project for my tutorial about creating an Ally AI that can follow the player around or lead them around the level.
https://github.com/robertcorponoi/unreal-follow-lead-ai
ai cpp tutorial unreal-engine unreal-engine-4
Last synced: 15 days ago
JSON representation
Demo project for my tutorial about creating an Ally AI that can follow the player around or lead them around the level.
- Host: GitHub
- URL: https://github.com/robertcorponoi/unreal-follow-lead-ai
- Owner: robertcorponoi
- License: mit
- Created: 2020-08-25T04:07:23.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-25T04:18:59.000Z (over 4 years ago)
- Last Synced: 2025-01-19T03:35:11.263Z (16 days ago)
- Topics: ai, cpp, tutorial, unreal-engine, unreal-engine-4
- Language: C++
- Homepage: https://robertcorponoi.com/unreal-c-creating-an-ai-that-follows-and-leads/
- Size: 12.3 MB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
Unreal C++ Follow & Lead AI
Demo project for my tutorial about creating an Ally AI that can follow the player around or lead them around the level.
This is the demo project for the tutorial at [Unreal C++ Creating a Follow/Lead AI](https://robertcorponoi.com/unreal-c-creating-an-ai-that-follows-and-leads/) which explains how to set up a an AI that can follow the player around or lead them to spots around the level.
This demo was created with Unreal 4.25.3
## Instructions
- Clone or download the repo, open it in Unreal, and press play.
- Move around to have the AllyCharacter follow you around. You can also hold shift to sprint and if you get far enough from the AllyCharacter they will sprint to catch up with you.
- Press the F key to have the AllyCharacter lead you to a couple spots around the level. If you get too far from the AllyCharacter they will stop moving until you get closer and then they'll continue to where they were going before.
The AllyCharacter has various variables you can modify to adjust speed and other distance related logic.
## **License**
MIT