Hi there, I’m trying to build a sim using Unreal and Cesium for Unreal, and I’ve created a character that is georeferenced with C++ behind it:
georeference = CreateDefaultSubobject(TEXT(“Character”));
georeference->MoveToLongitudeLatitudeHeight(glm::dvec3(-72.5, 40.5, 100));|
The last line is causing a crash; when it’s commented out the rest of the game works properly. Any ideas on why? I need to update the actor’s location in lat/lon/alt dynamically in C++. Thanks!