Oneshot wrote...
Hey,
now i found the method.
public void pointAtObject(Player c) {
setRotation((int)(180*Math.atan2(c.getY()-getY(),c.getX()-getX())/Math.PI));
}
It works, but only, if the Player is over the Zombie. I think, there is a range limit. Can i change it to "no range"?
Best regards