Header Files to Include on this Lesson

#include "Runtime/Engine/Classes/GameFramework/Actor.h"
#include "Runtime/Core/Public/Math/UnrealMathUtility.h"
#include "Runtime/Core/Public/Windows/WindowsPlatformMath.h"

This one was tricky because the documentation calls for the UnixPlatformMath.h, but we’re not using a Unix based system lol.

I’m coming back in here to say that if you plan to build your game for Linux and Mac as well, don’t use WindowsPlatformMath.h! I’m about to change all of my refs to “#include “Runtime/Core/Public/GenericPlatform/GenericPlatformMath.h”” and test if this will build to Linux. I’ll share more when I know more.

Privacy & Terms