How to use maskfilter with skeletalmesh

How do i use maskfilter with skeletalmesh? I’m trying to make team based shooter game and i want to bullet pass through teammates but linetrace IgnoreMask doesn’t ignore team skeletalmeshes

nwm, i figured it out like so:

UPhysicsAsset* upa;
upa = GetMesh()->GetPhysicsAsset();

for (auto sbs : upa->SkeletalBodySetups) {

also if anobody needs this you also should probably call: upa->RefreshPhysicsAssetChange();