How spawn character with c++

Coming from unity, and a bit rusty with that. I remember being able to just start a c file and call characters as needed. How do I do that in UE5? Right now I create a pawn blueprint then just hit “edit in c++” after opening it, but this leads me to editing the default character.h file which I don’t believe is intended. Where do I create classes that UE5 will recognize, and what functions do I need to call to create a pawn, assign a mesh, assign the controller etc…

I’ve went through a couple of udemy tuts but everything is blueprint oriented unfortunately. If you guys know of anything course that covers this I’m not opposed to taking it.

Hi rectifryer,

This may be of some use:

2 Likes

That absolutely worked. I’ve been using Visual Studio CODE and UE5 wouldn’t grab the changes no matter what I did. Switched to community and its finally working, and I can follow that tutorial. Everything makes more sense now.

1 Like