I’m working on a top down zombie shooter but I have a problem.
I have a working enemy health bar, But when my enemy rotates toward the player my enemy healthbar kinda follows the rotation so it isn’t in place anymore. Does someone know a fix for this issue?
You need to unbind the enemy’s health bar BEFORE the rotation! Being bound will “follow” you.
There are more experts than me, since I’m still a novice, but I think they would tell you that you can also perform the rotation with a boolean value… (Don’t pay much attention to the latter, I’m a novice)
Unlink (the health bar and enemy before the rotation)