第一次提交

This commit is contained in:
不明不惑
2026-03-03 01:23:02 +08:00
commit 3e434877e8
1053 changed files with 102411 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
// Copyright 2025 https://yuewu.dev/en All Rights Reserved.
#include "Locomotions/GMS_LocomotionStructLibrary.h"
#include "Animation/AimOffsetBlendSpace.h"
#include "Animation/AnimSequenceBase.h"
#include "Animation/AnimSequence.h"
#include UE_INLINE_GENERATED_CPP_BY_NAME(GMS_LocomotionStructLibrary)
bool FGMS_Animations_4Direction::ValidAnimations() const
{
return Forward && Backward && Left && Right;
}
bool FGMS_Animations_4Direction::HasRootMotion() const
{
if (ValidAnimations())
{
return Forward->HasRootMotion() && Backward->HasRootMotion() && Left->HasRootMotion() && Right->HasRootMotion();
}
return false;
}
bool FGMS_Animations_8Direction::ValidAnimations() const
{
return Forward && ForwardLeft && ForwardRight && Backward && BackwardLeft && BackwardRight && Left && Right;
}
bool FGMS_Animations_8Direction::HasRootMotion() const
{
if (ValidAnimations())
{
return Forward->HasRootMotion() && ForwardLeft->HasRootMotion() && ForwardRight->HasRootMotion() && Backward->HasRootMotion() && BackwardLeft->HasRootMotion() && BackwardRight->
HasRootMotion() && Left->
HasRootMotion() && Right->HasRootMotion();
}
return false;
}