Added initial player settings, including movement logic. Created Enemy class with basic structure. Implemented input handling for movement and camera control.
21 lines
455 B
C++
21 lines
455 B
C++
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
|
|
#include "Characters/ExoPlayerCharacter.h"
|
|
#include "GameFramework/CharacterMovementComponent.h"
|
|
|
|
AExoPlayerCharacter::AExoPlayerCharacter()
|
|
{
|
|
GetCharacterMovement()->bSnapToPlaneAtStart = true;
|
|
|
|
bUseControllerRotationPitch = true;
|
|
bUseControllerRotationYaw = true;
|
|
bUseControllerRotationRoll = false;
|
|
}
|
|
|
|
void AExoPlayerCharacter::BeginPlay()
|
|
{
|
|
Super::BeginPlay();
|
|
|
|
}
|