After much debugging I managed to make the player unit detect the other unit, and stop if it detects it.
The main issue was that the movement stopped working for some reason, and I spent an hour trying to figure out why. It was odd because no code had been changed, and the data was saved correctly. Turns out NUMLOCK is something I had little understanding over, and my numpad was disabled because of it. So even though the KeyCode for numpad was correct, my inputs weren't being recognized because they were turned off. Video documentation
0 Comments
Leave a Reply. |