Accessing Actor's Collision Preset Name

I’m looking to access the collision preset names of the selected actors, so far I can find no obvious way to get this information through an Actor Object. Any Advice?

Hi,

Collision presets are specified on a component level. You could try the following:

Actor->GetRootComponent and cast it to a PrimitiveComponent. Then call UPrimitiveComponent::GetCollisionProfileName on that component.

Hi,

We think this post contains useful information which we would like to share with our public UE4 community. With your approval, we would like to make a copy of this post on the public AnswerHub which includes the discussion but strips out your username and company name. Please let us know if you are okay with this.

Thanks!

Thank you - that worked perfectly

Sure, I am okay with it being shared.