ok, so i’m working on a small project that involves basic collision. I have a ball blueprint which makes my character bigger, within a box blueprint which will raise the ball in a Z axis motion once the box is overlapped. so far i have this code:
void APickupBlock::ActivatePickup()
{
UChildActorComponent* Child = GetComponentByClass(UChildActorComponent StaticClass());
child->ChildActor;
}
How can i make it, so the ball does nothing until the ball is outside the box?