Imo, first thing you need to do, is add the
look_at function / method, then try printing rotation, after that, you can use degrees to radians ( deg2rad in visual script ) and, then use sin and, cos ( cosine ), to calculate the vector, towards the player, if you have that, just make the enemy move ' that ' direction, every frame . . . Made it work, a while ago, coding a
look_at function from scratch can be done, but it's difficult, because the engine goes from -180, to 180 degrees, I think, so you have to write some nasty code, to take that into account . . . I used
look_at, that was enough, it's implemented code, but you can also code everything, yourself . . . Good luck, it took me a few days, to figure it out, really nasty problem, used
look_at in the end, got lost, it worked, somehow . . . :O :O <3
Almost had it, but in the end, it was easier to used a pre-made function, that worked, but bit noob, still, stuff works . . . . Good luck, you'll figure it out, easier if you debug, by printing variables, like rotation, so you can see what happens, as well . . .