I want to implement an AI behavior where an enemy runs towards the player while sidestepping randomly and aggressively (like in this video: https://www.youtube.com/watch?v=35Ut_C4eL40)
Currently I am just using
Vector3.MoveTowards but that results in smooth movement which isn’t exactly what I need. I’ve tried adding an offset to the target using
Random.insideUnitCircle but it just doesn’t work.
If anyone could give me an algorithm to implement it’ll be great. Thanks