2
\$\begingroup\$

My project has a cube and a capsule.

Below you can see an inserted cube of the modes tab. Beside a capsule inserted from a blueprint created by me:

enter image description here

I can drag the material I created and use it in the cube, but not in the capsule:

enter image description here

Note that the cube has a tab to insert the material:

enter image description here

But the capsule I created does not have that same tab:

enter image description here

I would like to know what components I would have to add to the capsule so that the capsule could have a material.

\$\endgroup\$
  • \$\begingroup\$ Thanks for adding the extra pictures! This will surely help other people. \$\endgroup\$ – CourageousPotato May 23 at 4:39
2
\$\begingroup\$

Materials can only be applied to some subclasses of UPrimitiveComponent, like UStaticMeshComponent. If you select the StaticMeshComponent of your Capsule actor in its components list (in the Details tab), you can drag the material into its slot on there.

See below:

enter image description here

Result:

enter image description here

You might not be able to drag and drop the material into the viewport on the actor in some circumstances.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.