Add PHY character framework

This commit is contained in:
2026-04-26 00:33:28 +08:00
parent 5aacc79f03
commit acaa8eb83c
25 changed files with 1784 additions and 2 deletions

View File

@@ -0,0 +1,25 @@
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Camera/UGC_PlayerCameraManager.h"
#include "PHYPlayerCameraManager.generated.h"
/**
* @brief PHY 玩家相机管理器。
*
* 该类型从 PlayerController 的 C++ 缓存读取输入,不把 UGC 蓝图 Pawn Interface 作为主路径。
*/
UCLASS(BlueprintType, Blueprintable)
class PHY_API APHYPlayerCameraManager : public AUGC_PlayerCameraManager
{
GENERATED_BODY()
protected:
/** @brief 返回玩家视角输入。 */
virtual FRotator GetRotationInput_Implementation() const override;
/** @brief 返回玩家移动控制输入。 */
virtual FVector GetMovementControlInput_Implementation() const override;
};