[=“Fizzyweasel, post:676, topic:126746”]
On the FPS tutorial page:
2 - Implementing your Character | Unreal Engine Documentation
…three is mention of an FPSCamera class, which doesn’t exist. My guess is that it used to exist but the tutorial was updated at some point and all references to it were not removed.
Secondly, the part where it asks you to move the default position of the camera so that it is near to the character’s eye level doesn’t work. It asks you to put the following code in the FPSCharacter constructor:
FPSCameraComponent->SetRelativeLocation(FVector(0.0f, 0.0f, 50.0f + BaseEyeHeight));
…this did not work for me. I moved it to the BeginPlay() function and it worked as it should, so it seems that the constructor was called too early before some other dependencies were initialised maybe.
[/]
FYI the reason SetRelativeLocation() was not working was because it just sets the default for that component. But the previous value will still be set in the Editor. So you have to go into the Blueprint Editor, click on the relevant component (in this case FPSCameraComponent) and in the Details section find the relevant value (in this case Transform->Location) and click the yellow reset-to-default icon next to the value. You’ll have to do this for some other stuff too.