Camera problems:
This does not work for me I got the same initial results as until 23:00 but the camera is still off - it is not pointing to the ground but “backwards”:
**Solution **- I had to remake this using blueprints and found that you need to use this line: [FONT=courier new]CameraComponent->SetWorldRotation(FRotator(0.0f, 0.0f, 0.0f));
That is there should be no -90 rotation on the Camera?
**Problems with [FONT=courier new]FVector2D MovementInput;? **
You are getting these errors: [FONT=courier new]…/Tank.h(19) : LogCompile: Error: Cannot expose property to blueprints in a struct that is not a BlueprintType. TankInput.MovementInput
…/Tank.h(80) : LogCompile: Error: Type ‘FTankInput’ is not supported by blueprint. Tank.TankInput
[FONT=courier new]// Manage Input
USTRUCT(BlueprintType)
struct FTankInput
{
GENERATED_BODY()
public:
UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = “Tank Input”)
FVector2D MovementInput;
For some reason [FONT=courier new]BlueprintType is needed now, was not when this tutorial was done?