Basically im in search of a manner (code) to roughly implement a fighter-jet like motion habits for my non-player entities in my 2D SIDEVIEW (!) shoot em up.
I.e. enemy entities (say jets or planes) cant all of the sudden change their going through, velocity or vector however as an alternative ought to must decelerate and / or fly a curve in a wider angle, probably relying on a properties like “agility” or “maneuverability”.
Gravity shouldn’t be related for Enemy entities.
The objective can be to have an enemy Entity that may finally “intercept” on the gamers path to fireplace a projectile. Nevertheless simply with the ability to transfer in a clean manner would already be a fantastic assist.
To be particular, assume the participant is on place 200/0, with its motion vector being normalized -1/0 (i.e. transferring to the left).
The enemy can be at place 400/100, transferring normalized at 1/0 (to the appropriate).
Im at a whole loss on how i may implement such a steering habits.
If it issues, im utilizing GODOT, so i’ve the inbuild _process with a delta variable.
Any pointers, hyperlinks, code bits can be extremely appreciated.