More work on tangibleCharacter, especially thread synch stuff

This commit is contained in:
2024-02-13 16:49:58 -05:00
parent d11fbca815
commit abb967f20b
7 changed files with 121 additions and 69 deletions

View File

@@ -96,6 +96,9 @@ void UlxTangible::SetActorBlueprint(const FString &name) {
void UlxTangible::UpdateAnimationQueue(std::string_view aq) {
AnimTracker.Update(aq);
}
void UlxTangible::MaybeExecuteAnimStateChanged() {
int limit = 3;
while (AnimTracker.IsChanged()) {
if (limit == 0) break;