How to use "set collision profile name" node from "get all sellected assets" node?

Hi.
I made utility widget for setting collision profile. So I made blueprint like this


But Cast to PrimitiveComponent doasn’t working, so I can’t use set collision profile name node.
How set collision profile name from sellected assets?

You should cast actors to the needed class and get their components.

My Products

1 Like

I want to modify collision from contents browser, so I used “Get Selected Assets”.
Can I use “Get Selected Actor” to asset in contents browser?

Sorry, I did not notice that there are assets.
I’m not sure if you can set the profile in assets.
You are trying to take a component from a static mesh. It is not here.
A component is part of an actor.

1 Like

Thank you.
I tought it’s possible cause, “Set Collision Profile Name” 's target is primitive component and Static Mesh Asset also has primitive.
But primitive component and primitive is not same thing…