Suicidal AI
Yeah, you read that right. These AI are the first I've sorta completed (?) that will be in the game.
They will just go towards you and then give their final moments to ensure your destruction. Suicidal AI in action
Ouch.
I then considered the possiblity of allowing the player to rotate themselves to allow you to fire in directions otherwise making you vulnerable to these types of enemies.
Player rotation?
I find this a lot more fun, especially when I add in swarming type enemies this'll make it easier for you to kill them.
Still have to figure out how I'm going to translate the bullets relative to local space to make the different bullet modes not look strange though.
Smoothing out the rotation
I spent all day trying to figure out how to smoothen out the rotation, but finally glad I figured it out in the end... which you can see visually part way through this video.
Now that I've figured this out, I can also apply this to the AI too to allow them to "curve more" around the player. Will be interesting to try this on the enemy AI to give them a bit more of a smooth following of the player rather than a straight up hard rotation.
Final note
I've learnt today - if you're stuck on figuring out how to solve a problem, there's probably an easier way to solve it that you're not thinking about. Think outside the box.