Created a new “AIController Blueprint”, for flying character, everything was working as intended - When coming close to AI character, AI character will chase player character using “Move to Location” in “AIController Blueprint”.
For this,
- Created a large ‘Box’ component in
character blueprint (AI character),
Box having collision as trigger. - When player character overlaps Box
component, AI character moves to
player location.
Logic worked well and AI character (character mesh) moved to player character’s location. Just for some more experiment, added event ‘OnComponentBeginOverlap’ for root capsule component and now AI character starts moving towards player character but stops way to far from player character. It actually stops even before colliding largest component of AI character blueprint (Box Component).
I have even encountered blueprint corruption, where I just duplicated character blueprint and then replaced skeletal mesh and animation blueprint. Saved complete project and reopened next day, edited blueprint was corrupted, on selecting component tab UE editor was crashing.
Note : using UE 4.6 preview and UE 4.6. Images attached for further reference.