How can I set a UStaticMesh UPROPERTY in my blueprint

Hi, I’m new here

I’m try to set my property in my blueprint with a component at scene

my property declaration:

static mesh that I’m trying to set

60459-scene.png

I’m trying to set my Turret Property with my “test” static mesh

but Turret dropdownlist is empty.

Thank you!

Hey ohrlando-

Rather than using a UStaticMesh* you want to use UStaticMeshComponent* and then give the pointer a value in the constructor with CreateDefaultSubobject(TEXT("Some Text"));. This will add the static mesh component to the blueprint allowing you to set the specific mesh inside the editor.

Cheers