Greetings to everyone who reads this!
I have a suggestion as to how to actually make the suggested projectile velocity visualize itself in a pretty neat manner. All that is required is to put “true” in the bool bDrawDebug option in SuggestProjectileVelocity. That is the very last option.
This is how I’ve done my SuggestedProjectileVelocity function, and the most important thing in here is the very last “true” that is taken in.
If we do it like this, every frame it will start drawing a debug line for us like this:
Enemy tanks are now shown to actually aim at us, and we see the line that we are aiming
Looks somewhat ugly, but what can you do. At least it visualises us what we want to see.