Hey there,
I’m new to UE5 and don’t really have a programming background of the sort, so it’s safe to say I’m a beginner when it comes to this stuff.
I’m currently working on a small lil’ project that is using the Third Person setup, I’ve found quite a lot of resources that’s helped me learn a lot, but I’ve been stuck for two days on trying to build a ‘LockOnTarget’ system for my combat, I’ve got the lock on and character rotation working, but I’ve gotten two issues with my ‘system’ that I can’t figure out.
First issue is; when an enemy dies, the lock stays on - I’m thinking I need a check; "If CurrentTarget=Dead > SwitchTarget, but I don’t know where to put it, so any advice there, would be great.
As for the main issue however, it’s about the directional movement, once you’re locked on a target, it is only using back and forward anims, I’ve tried setup a blend space but hit a wall on how to call it when locked, so figured I’d ask for some help on here to get a sense of direction or just plain advice ^^
Thanks in advance, and here is the node blueprints;
I apologise for it being a bit disorganized, the anim/rotation stuff is the nodes on the very right, the bottom nodes is my latest attempt when it comes to the anims.