I did it this way, but I got an error
UCollisionProfile CollisionProfile;
TArray<TEnumAsByte<EObjectTypeQuery>> ObjectTypes = { CollisionProfile.ConvertToObjectType(OBJECT_CHANNEL_FLOOR) }; // #define OBEJCT_CHANNEL_FLOOR ECC_GameTraceChannel1
FHitResult MouseHitResult;
GetHitResultUnderCursorForObjects(ObjectTypes, true, MouseHitResult);
Error:
error LNK2019: unresolved external symbol β__declspec(dllimport) public: virtual __cdecl UDeveloperSettings::~UDeveloperSettings(void)β (_imp??1UDeveloperSettings@@UEAA@XZ) referenced in function βpublic: virtual __cdecl UCollisionProfile::~UCollisionProfile(void)β
The ofiicial UDeveloperSettings document document cant be opened either. 404 NOT FOUND
Did I not load a module?