Problems with gun.h

Hi, I am having problems with the gun.h that isn´t recognize in the shootercharacter.cpp. This doesn´t allow me to put the gun in the BluePrint. Why is happening that? Thanks

Could you post the exact error message please

It is in spanish and sais that I can´t open the directory

And where have you saved Gun.h?

How can I know that? Because inside UE is inside the folder of SimpleShooter

Look in the your explorer

This is verey is it:
imagen

Then that would be why.

#include "Gun.h"

Looks in the current directory and then include paths which Gun.h is not in either.

#include "../Gun.h"

or

#include "SimpleShooter/Gun.h"

Assuming SimpleShooter is the name of that directory.

thanks! that solve it

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms