Add Per Instance Random node to Anim Graph

This commit is contained in:
2026-04-14 16:02:31 +02:00
parent 9bb7733b33
commit a14599bb15
2 changed files with 19 additions and 0 deletions
@@ -2653,6 +2653,13 @@ void AnimGraphExecutor::ProcessGroupAnimation(Box* boxBase, Node* nodeBase, Valu
value = nodes;
break;
}
// Per Instance Random
case 36:
{
auto* actor = ScriptingObject::Cast<Actor>(context.Data->Object);
value = actor ? actor->GetPerInstanceRandom() : 0.0f;
break;
}
default:
break;
}