Basically AnimNode will be updated multithreaded so if you want to use DrawDebugSphere in AnimNode then you should use AnimDrawDebugSphere instead.
It will reserve all the command in local TArray and then processed correctly.
Context.AnimInstanceProxy->AnimDrawDebugSphere(outTransform.GetLocation(),
3.f, 32, FColor::Green, false, 1.0f);
Use like above.
No comments:
Post a Comment