Hi, those code lines should move the entity towards the player. Any surrounding entity blocking the up and down movement? Missing IGNORE_PASSABLE or so?
Re: Move entity towards player (pan+tilt)
[Re: txesmi]
#448709 02/18/1507:4902/18/1507:49
Hi, thanks for the hint. I found the problem was because I was modifying the entity's position after immediately creating it but applying vec_to_angle(...) too soon before the entity had been moved.