EMotionFX

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
pappeste
2021-06-25 16:29:00 -07:00
committed by Esteban Papp
parent c14c23c9c7
commit bed57208da
12 changed files with 24 additions and 24 deletions
@@ -126,8 +126,8 @@ namespace EMotionFX
blendNNode->SetName(blendNNodeName);
blendTree->AddChildNode(blendNNode);
const int motionNodeCount = 5;
for (AZ::u32 i = 0; i < motionNodeCount; ++i)
const uint16 motionNodeCount = 5;
for (uint16 i = 0; i < motionNodeCount; ++i)
{
AnimGraphMotionNode* motionNode = aznew AnimGraphMotionNode();
motionNode->SetName(AZStd::string::format("Motion %i (%s)", i, blendNNodeName).c_str());
@@ -172,7 +172,7 @@ namespace EMotionFX
finalNode->AddConnection(blendNNode, BlendTreeBlendNNode::PORTID_OUTPUT_POSE, BlendTreeFinalNode::PORTID_INPUT_POSE);
// Creates 5x blend N nodes as input for the blend N node created here. Each of these five blend N nodes have 5x input motions.
for (AZ::u32 i = 0; i < 5; ++i)
for (uint16 i = 0; i < 5; ++i)
{
BlendTreeBlendNNode* inputNode = CreateBlendNNode(testBlendTree, parameterNode, AZStd::string::format("InputBlendNode%i", i).c_str());
blendNNode->AddConnection(inputNode, AnimGraphMotionNode::PORTID_OUTPUT_POSE, i);