I want to make a boar enemy that 'charges' a charge attack against the player.
To do this I'm adding dt to a counter called chargeTime.
Every tick, I make the boar face the player.
When chargeTime is > 3, I increase the bullet behavior on the boar from 0 to 400.
THE ISSUE is that this only works half the time.
Sometimes the boar rushes at the player, other times it just goes forward - missing the player.
I made Bullet.angleOfMotion = Boar.angle degrees but it didn't seem to have an effect.
Why is this happening? How can I fix this?