mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 01:07:43 +00:00
All animation nodes implemented
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include "CMetaTransMetaAnim.hpp"
|
||||
#include "CMetaAnimFactory.hpp"
|
||||
#include "CAnimTreeLoopIn.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
@@ -12,7 +13,10 @@ CMetaTransMetaAnim::VGetTransitionTree(const std::weak_ptr<CAnimTreeNode>& a,
|
||||
const std::weak_ptr<CAnimTreeNode>& b,
|
||||
const CAnimSysContext& animSys) const
|
||||
{
|
||||
return {};
|
||||
std::shared_ptr<CAnimTreeNode> animNode =
|
||||
x4_metaAnim->GetAnimationTree(animSys, CMetaAnimTreeBuildOrders::NoSpecialOrders());
|
||||
return std::make_shared<CAnimTreeLoopIn>(a, b, animNode, animSys,
|
||||
CAnimTreeLoopIn::CreatePrimitiveName(a, b, animNode));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user