I have some overlaps that I can’t disable.
I want to remove the meshes from the equation because they are totally useless overlaps. And there are thousands of them.
And a wasted CPU time is being consumed that I can use for something more useful.
Half a million overlaps in just 60 seconds of gameplay
![]()
However, I’ve been trying to disable it and there’s no way to do it. This is the mesh configuration (character and weapon)
This is the configuration of the character capsule:
And this is the weapon (box collision) configuration:
Obviously when the weapon is attached to the character I disable collisions.
void UWeaponBoxComponent::DisableCollisions()
{
SetNotifyRigidBodyCollision(false);
SetGenerateOverlapEvents(false);
SetCollisionEnabled(ECollisionEnabled::NoCollision);
SetCollisionObjectType( FTheCollisionChannel::IgnorableObject );
SetCollisionResponseToAllChannels( ECollisionResponse::ECR_Ignore );
}
void UCharacterCapsuleComponent::RestoreWeaponCollision()
{
SetCollisionResponseToChannel( FTheCollisionChannel::Weapon, ECollisionResponse::ECR_Overlap);
}
void UCharacterCapsuleComponent::IngnoreWeaponCollision()
{
SetCollisionResponseToChannel( FTheCollisionChannel::Weapon, ECollisionResponse::ECR_Ignore);
}
So I don’t understand why the meshes are present in the overlap events.
Any ideas?
Thak you so much!!
Edited:
Seems this person had the same problem… however i want disable all collisions and overlaps… i don’t need it on this meshses
Any help will be welcome!!





