commiting Source folder. Got forgotten in previous commits

This commit is contained in:
2026-04-09 21:44:44 +02:00
parent 4338efdb30
commit 563df1ffc8
91 changed files with 6756 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/CharacterMovementComponent.h"
#include "customCharacterMovementComponent.generated.h"
/**
*
*/
UCLASS()
class LOST_PLANET_API UCustomCharacterMovementComponent : public UCharacterMovementComponent
{
GENERATED_BODY()
public:
// Constructor
UCustomCharacterMovementComponent();
protected:
// Override PhysCustom to handle custom movement mode behaviors
virtual void PhysCustom(float DeltaTime, int32 Iterations) override;
virtual void OnMovementModeChanged(EMovementMode PreviousMovementMode, uint8 PreviousCustomMode) override;
static bool SweepForwardForWall(const ACharacter* Character, FHitResult& OutHit, float SweepDistance = 100.f);
};