You were 99% there. All you need to add to your CDO
ATeacup::ATeacup()
{
// your code start
// ....
CollisionBox->SetCollisionProfileName(Trigger);
// your code end
CollisionBox->SetGenerateOverlapEvents(true);
}
You were 99% there. All you need to add to your CDO
ATeacup::ATeacup()
{
// your code start
// ....
CollisionBox->SetCollisionProfileName(Trigger);
// your code end
CollisionBox->SetGenerateOverlapEvents(true);
}