The Include needed in UE4.16 for UProjectileMovementComponent Answer

In order to get UProjectileMovementComponent you need to include

#include “GameFramework/ProjectileMovementComponent.h”

I wish they would just go through the videos and add all the includes needed I will leave this Question unanswered so @ben will look into or consider adding all the important #include’s

3 Likes

Thanks for this feedback. I’ve made a patch to the video which I’m uploading now.

Ya I’ve run into this issue before but now I look here to see if an added #include is indeed the solution.

Thanks @ben for uploading the extra note at the top of the page. I was so focused on the line of code being correct I didnt even notice it at first ^^

Nothing can be done about that, just a lesson for myself to be more screen aware haha

1 Like

Just google it, you know we are working with the projectile movement component, find the docs for it and find where its header file is and #include it. You shouldn’t have to be spoon fed this much.

This still seems to be a problem? I don’t recall seeing a clear way of fixing this in the video. Maybe I missed it. Did you upload a patch ?

Privacy & Terms