Skip to content

Instantly share code, notes, and snippets.

// Fill out your copyright notice in the Description page of Project Settings.
#include "TimerComponent.h"
#include "Logging/StructuredLog.h"
// Sets default values for this component's properties
UTimerComponent::UTimerComponent()
{
// Fill out your copyright notice in the Description page of Project Settings.
#include "AnotherCamera/Public/RotatingActor.h"
// Sets default values
ARotatingActor::ARotatingActor()
{
PrimaryActorTick.bCanEverTick = true;
@p30virus
p30virus / MousePlayerController.cpp
Created June 23, 2023 01:08
Rotate Player controller towards mouse
// Sets default values
AMousePlayerController::AMousePlayerController()
{
PrimaryActorTick.bCanEverTick = true;
bShowMouseCursor = true;
}
void AD_PlayerController::Tick(float DeltaSeconds)
{
Super::Tick(DeltaSeconds);
PublicDependencyModuleNames.AddRange(new string[] { "UMG", "Slate", "SlateCore" });
@p30virus
p30virus / Build_Custom.bat
Created March 20, 2023 16:40
Unreal Engine Source Build Reduced Size
./Setup.bat
-exclude=WinRT
-exclude=Mac
-exclude=MacOS
-exclude=MacOSX
-exclude=osx
-exclude=osx64
-exclude=osx32
-exclude=Android
-exclude=IOS