Firstly, sorry if I’m wrong, I’m a newbie.
I’ve going through the tutorial “https://docs.unrealengine.com/en-US/Programming/Tutorials/FirstPersonShooter/3/1” and I think I’ve detected a couple of things are wrong.
In "Adding a USphere component", Steps 2 and 3, instead of:
// Sphere collision component. UPROPERTY(VisibleDefaultsOnly, Category = Projectile) USphereComponent* CollisionComponent;
I think it should be
// Sphere collision component. UPROPERTY(VisibleDefaultsOnly, Category = Projectile) class USphereComponent* CollisionComponent; In Step 5 there is a missing header:
#include “Components/SphereComponent.h”
… and I think that’s it