I trying to make a Boss shoot missiles at the players current position.
Currently I do it this way:
But the thing that confuses me is, that when the Player isn't moving, the bullets aren't coming as a continuous stream, instead they have some kind of random angle offset, and look more like a spray.
What is causing this?
Ok, after 3 days of working on this issue I just used "set angle towards position" and I fixed it.
I'm kinda mad at myself that I didn't think of this earlier... but, uh, at least I fixed this.
Still it would be awesome if someone would explain anglelerp to me and lerp and how/when to use them!
Develop games in your browser. Powerful, performant & highly capable.