@ben and his colleague @sampattuzzi and OTHERS (Smile!!!) I was wondering if you could look again at the video tutorial that you’d both made from the BattleTank tutorial from 2016,
Firstly when compiling to check that the turret of the tank aims correctly I seem to be getting a warning stating:
LogTemp: Warning: Aiming at X=-nan Y=-nan Z=-nan (this is highlighted in the red weird circle!)
I have found an error regarding the function AimAt() function and the data that has been passed to it via the UGameplayStatics call. I have included the exact duplicate of the source code that @ben has taught which is shown below:
However when selecting compile on the editor its showing these three errors (I think the code needs updating because it is from 2016). Here’s the output log:
I hopefully with minimal success, managed to download the three screen grabs, of the issues; currently, I’m having, have added it to the forum in the form of a screen grab as the code is exactly the same as Ben’s source code tutorial; however I’m currently using the updated version 4.19.2 and the tutorial is based upon 4.11 (which by now is outdated)
The two errors that I’ve noticed are from the same tutorial Section 4 BattleTank - A Fun Tank Battle with Mortars Section 140. Predict Projectile Landing Point, regarding the AimAt () function starts from 4:48 and finishes when Ben starts to compile and selects play, and the final error is on thhe same tutorial, that starts at 07:23. It won’t compile, I’ve checked the code and re-checked.
Can either @ben, @sampattuzzi or another udemy student, help clarify why the two errors are occurring and ask Ben or sam to update the errors seen in this post on the video?
Many thanks
Brandon