what type is the character_ref? can you post the code? Looks like it doesnāt understand what type character_ref is. which is usually missing header, else it would be odd.
I dont know the exact syntax problem you have right now But I would tag the character reference with something like āignoreThisOneā and instead of comparing if A = B Iād check if A has tag āxxxā
Character should not be ignored, the box collision collides with character by checking if the other actor is character ⦠just print something⦠in blueprint the same logic has no problem comparing with character/actor but in C++ I donāt know how to check .
#include "GameFramework/Character.h"
#include "GameFramework/Actor.h"
void ASomeClass::YourMethod() {
AActor* A = nullptr;
ACharacter* B = nullptr;
if (A == B) {
LogScreen("OverLapped");
}
}
if your custom character is in another .h than āGameFramework/Character.hā you include it
#include "GameFramework/Actor.h"
#include "YourCharacter.h"
void ASomeClass::YourMethod() {
AActor* A = nullptr;
AYourCharacter* B = nullptr;
if (A == B) {
LogScreen("OverLapped");
}
}
Restarted Visual Studio and Disabled Visual Assist, everything works fine⦠re-enabled Visual Assist and still everything works fine⦠donāt have any idea what it was