Download

Can't use my custom component

Hello
I created a custom movement component in a blank plugin. For now, there is nothing in it, just extends form UFloatingPawnMovement. Everything compiles with no issue but, when I try to add my component to a pawn, it doesn’t show in the components list.
I’m pretty new in c++, so I don’t know if I did something wrong… But in the past, I already created and used a custom component but it was directly created in the main projet.

So I need some help, please… Thanks in advance !

PS : Sorry if I made some grammar mistakes

You have to expose it as a spawning component:

UCLASS ( meta = ( BlueprintSpawnableComponent ) )

Hello,
Thank you for your answer. I tried it and it’s working now!
It’s was so simple… And thanks for the link, it will be useful !!