I’m trying to create the homing attack feature, I can’t find any tutorials on this I would really appreciate the help . Here’s an example.SA2/Heroes/Any-later-Sonic-Game like Flips after homing attacking mod - YouTube
I’m doing this with bp, visual would be nice
Are you still looking for an answer? If so, I can share the BP once I’m back on my dev PC.
I was able to get something working using:
- “box trace by objects” to find a target and its location (get the location from the Hit Result)
- “launch character” node coming off of the “event tick.” The direction is the (target’s location vector) - (Sonic’s location vector)
So every tick, it’s launching Sonic towards the location of the homing target.
You’ll need to adjust which objects to ignore though. Or use a function to to only search for objects of a certain class.