VS 2013: Error C2039: 'InitVelocity'
Hi, I am following the First Person Shooter C++ Tutorial (https://wiki.unrealengine.com/First_Person_Shooter_C%2B%2B_Tutorial) When i copy the code below:
i got this error Error 19 error C2039: 'InitVelocity' : is not a member of 'AFPSProjectile'
I didn't add or change anything and i am using UE 4.2.1.
You are declaring your function outside of your class, simply move the line after the closing bracket in your class body and you're done ;) Here is the code
answered Jul 03 '14 at 01:38 AM
Can you please verify that you have the following lines inside your FPSProjectile.h file:
answered Jun 30 '14 at 09:46 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here