Hello.
I’m searching for analog of editor’s Collision Presets in C++. I’ve tried
MyComponent->SetCollisionEnabled(ECollisionEnabled::NoCollision);
MyComponent->SetCollisionObjectType(ECollisionChannel::ECC_WorldStatic);
with no luck
Hello.
I’m searching for analog of editor’s Collision Presets in C++. I’ve tried
MyComponent->SetCollisionEnabled(ECollisionEnabled::NoCollision);
MyComponent->SetCollisionObjectType(ECollisionChannel::ECC_WorldStatic);
with no luck
Maybe I’m a bit late and wrong, but I tried
MyStaticMesh->SetCollisionProfileName(TEXT("OverlapAll"));
And it works… But it would be great to get an answer from a developer who knows it.
Hi guys,
Also you can try to use
MyActor->SetActorEnableCollision(false);
Best regards,