So I have an AI script I’m using for my game. AI basically sits on top of a character and manipulates the characters controls. Right now I’m struggling with something that I feel is simple but I am unsure how to accomplish it.
Basically I want to have the AI move towards something by pointing its simulated analog stick towards it. To clarify, I already know how to calculate the direction it should be traveling by comparing the transforms of the two objects, but I am not sure how to translate that vector into one that would be similar to a vector generated by moving an analog stick.