How to get colliders from level

Hi guys!

I want to ‘get’ the colliders from a level.
So if I create a terrain and place a cube on top of it for example
I want to ask the level for the colliders of these objects.

My intention is to create an Editor Plugin that lets me export those colliders.

In UNITY there was such a function. Something like Editor.FindObjectsOfType(typeof(Collider))

Thanks for your help.

#Wiki on Object and Actor Iterator

In UE4 C++ there is the Object and Actor Iterator!

Rama Wiki Link
A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine ForumsObject%26_Actor_Iterators,_Optional_Class_Scope_For_Faster_Search

You could search for AStaticMeshActor or search for the components if using BP static mesh components

UStaticMeshComponent

There’s no such thing as collider and I dont recommend using terrains as your first test

use static mesh actors to get used tot he whole setup

Rama

Thank you! I think this will be the way to do this.