Hi all! I'm brand new to scripting, and I'm working on this for a project. It's due in a little bit, so I'm sure I won't be able to get the help I need for this enemy, but I still want to know what I'm doing wrong.
I have an enemy ogre that has a short path it walks. I've scripted it to follow the player when it is within LOS. The ogre is extremely buggy. It only animates properly when I go to the right; it slides to the left but is frozen in the first frame of its animation. It also does not stop to play the "hit" animation when it is hit with the bullet from the player. Because of this, the ogre cannot die. It will also occasionally either blip into the floor or walls, fall through it, or even push the player character through the floor or walls. I've watched the tutorial videos I have from my classes and tried to do a few things myself but I can't figure out how to fix it.
I'm not sure how to show you all my work so far, so if someone could help me do that too, I'd be grateful. Like I said, I'm extremely new, so I'm sorry!