EMotionFX
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -260,7 +260,7 @@ namespace EMotionFX
|
||||
GetEMotionFX().Update(0.0f);
|
||||
EXPECT_EQ(Transform::CreateIdentity(), GetOutputTransform());
|
||||
|
||||
static_cast<MCore::AttributeFloat*>(m_animGraphInstance->GetParameterValue(m_animGraph->FindParameterIndex(m_parameter).GetValue()))->SetValue(1.0f);
|
||||
static_cast<MCore::AttributeFloat*>(m_animGraphInstance->GetParameterValue(static_cast<uint32>(m_animGraph->FindParameterIndex(m_parameter).GetValue())))->SetValue(1.0f);
|
||||
|
||||
GetEMotionFX().Update(0.0f);
|
||||
EXPECT_EQ(Transform::CreateIdentity() * AZ::Transform::CreateTranslation(AZ::Vector3(10.0f, 0.0f, 0.0f)), GetOutputTransform());
|
||||
@@ -313,7 +313,7 @@ namespace EMotionFX
|
||||
|
||||
// Changing this one parameter value should change it through all 3
|
||||
// layers of reference nodes, down to the referenced Transform node
|
||||
static_cast<MCore::AttributeFloat*>(m_animGraphInstance->GetParameterValue(m_animGraph->FindParameterIndex(m_topLevelParameter).GetValue()))->SetValue(1.0f);
|
||||
static_cast<MCore::AttributeFloat*>(m_animGraphInstance->GetParameterValue(static_cast<uint32>(m_animGraph->FindParameterIndex(m_topLevelParameter).GetValue())))->SetValue(1.0f);
|
||||
|
||||
GetEMotionFX().Update(0.0f);
|
||||
EXPECT_EQ(Transform::CreateIdentity() * AZ::Transform::CreateTranslation(AZ::Vector3(10.0f, 0.0f, 0.0f)), GetOutputTransform());
|
||||
|
||||
Reference in New Issue
Block a user