Turning the Enemy Around (Literally)
There came a bug that caused the enemy AI to move closer to the player, which is what was desired, but not rotate towards the direction of movement. Instead, the enemy would move closer to the player but keep facing the same direction it spawned in facing.
Since both of our player and enemy AI classes derived from the same parent class, any changes made to that parent class was done on both. Not only that, but that parent class had a custom grandparent class as well that was not initially part of Unreal Editor. Finding that grandparent class as well as the lines that disabled the player to always face in the camera's direction allowed me to reenable that function in the enemy AI child class and fix the bug. After resolving some unexpected issues in Perforce, I was able to test my fix and confirm that the bug was corrected.
Get Ascension Zero
Ascension Zero
An Action RPG where you train and fight to become the strongest!
Status | In development |
Authors | BrokenPixelStudios, Thomas Claiborne, JGBrokenPixel, CJMireles |
Genre | Fighting, Action, Role Playing |
Tags | Action RPG, Singleplayer, Unreal Engine |
More posts
- Time is NOT an Ally3 days ago
- Fixing Assets3 days ago
- Taming the Dash | Thomas Claiborne | 02/27/20253 days ago
- Implementing Settings | Jeylon Guidi | 02/26/20255 days ago
- The Stutter Bug9 days ago
- Hit Detection Challenges | Thomas Claiborne | 02/21/20259 days ago
- The Journey Continues... (Part 1)9 days ago
- UI Widget Construction | Jeylon Guidi | 02/20/202511 days ago
- The Journey for Assets16 days ago
Leave a comment
Log in with itch.io to leave a comment.