TangibleCharacter can now be interactively controlled

This commit is contained in:
2024-02-02 15:48:27 -05:00
parent 4b3315eb76
commit d11fbca815
18 changed files with 96 additions and 28 deletions

View File

@@ -4,6 +4,7 @@
#include "TangibleManager.h"
#include "Tangible.h"
#include "DebugPrint.h"
#include "IntegrationGameModeBase.h"
using namespace DebugPrint;
using TanArray = UlxTangibleManager::TanArray;
@@ -36,8 +37,9 @@ UlxTangibleManager::UlxTangibleManager() {
World = nullptr;
}
void UlxTangibleManager::Init(UWorld* world) {
void UlxTangibleManager::Init(UWorld* world, AIntegrationGameModeBase *gamemode) {
World = world;
GameMode = gamemode;
}
UlxTangible* UlxTangibleManager::GetTangible(int64 id) const {