You're welcome!
Quote:
can i also check inside an if condition weather the entity reached the target angle?

if(abs(ang(b.x-my.pan)) < 1) {
entity faces target
}

That should do the trick.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends