Character can now move interactively

This commit is contained in:
2024-02-16 15:48:22 -05:00
parent abb967f20b
commit 89fcb6bf8d
8 changed files with 75 additions and 8 deletions

View File

@@ -162,4 +162,9 @@ bool UlxTangible::IsCurrentPlayer(AActor* target) {
UlxTangible *tan = GetActorTangible(target);
AIntegrationGameModeBase *gamemode = tan->Manager->GetGameMode();
return (tan->TangibleId == gamemode->PlayerId);
}
void UlxTangible::SetAutoFinish(AActor *target, const FString &action, const FVector &xyz) {
UlxTangible *tan = GetActorTangible(target);
tan->AnimTracker.SetAutoFinish(action, xyz);
}