Blending queues now working

This commit is contained in:
viktorljung
2016-03-03 17:48:25 +01:00
parent 8957b0b464
commit a3494b92c8
11 changed files with 554 additions and 378 deletions
+6 -2
View File
@@ -60,8 +60,7 @@ public:
{
std::string NodeName;
double progress;
bool Restart;
double AnimationSpeed;
bool Start;
std::unordered_map<EntityWrapper, double> StartWeights;
};
@@ -78,6 +77,11 @@ public:
void PrintTree();
BlendTree::AutoBlendInfo AutoBlendStep(AutoBlendInfo blendInfo);
BlendTree::Node* GetCommonParent(std::string NodeName1, std::string NodeName2);
BlendTree::Node* FirstCommonParent(Node* node1, Node* node2);
EntityWrapper GetSubTreeRoot(std::string nodeName);
private:
Skeleton* m_Skeleton = nullptr;
Node* m_Root = nullptr;