Hello i been working on this issue for a week now.
And for what ever resson when i try to turn off collision on a Destructable i have in a derived AActor::.
It don`t change and it keeps coliding with everything.
I was thinking that it may be due to the fact that its just a chunk of the the destructable mesh.
So i whent hunting for the solution in the PhysX/APEX API but was not able to find anything for turning of collision.
Turning off collision for the entier mesh whould work fine, but i stile need collision on one a other component USphereComponent::
Here what i think should work.
DestructibleMesh->SetCollisionObjectType(ECollisionChannel::ECC_Destructible); DestructibleMesh->SetCollisionResponseToAllChannels(ECollisionResponse::ECR_Overlap); DestructibleMesh->SetCollisionEnabled(ECollisionEnabled::NoCollision);
Thanks for any help.