How to disable the collision for a component in C++?

Hi, I want to know how can I disable collision for a C++ declared component under C++?
image_2022-06-14_013011570

Thank You.

this can be done setting the collision profile in C++.
ComponentName->SetCollisionProfileName(FName(TEXT("NoCollision")));

2 Likes

Thank You for the fast reply with a perfect Solution :slightly_smiling_face:

1 Like