I’ve based my game character off of it, but then I found out that I can actually just add “FloatingPawnComponent” to a Pawn class, and get pretty much the same thing without the annoying inherited sphere collision and sphere static mesh present in the DefaultPawn class, which is way more convenient.
So looking at the DefaultPawn class, it is pretty much a Pawn class which has built in FloatingPawnComponent, a sphere collider, and a sphere static mesh. I am confused about what would such a specific preset be good for, when it takes literally a few clicks to recreate it from scratch. What is the purpose of having such a specific yet such a simple to recreate class built right into the engine? I can understand character class, that one has quite a lot going on under the hood, but this one seems quite redundant. Am I missing something?
I don’t think that makes sense honestly. Overriding it pretty much means using a Pawn instead of DefaultPawn. My question was about if there are any cases where I’d want/It’d make sense to use DefaultPawn over a Pawn, since DefaultPawn offers no clear advantage over a Pawn with movement component added.
Your first mistake was trying to ask a legitimate question on this forum. Every single person on this forum gives these non-answers. If anyone tries to give a somewhat helpful answer. They will come back and berate the guy.
From what I understand looking at the source, Default pawn just a Pawn subclass that has basic movement, input and mesh component setup so you don’t have to write those code if you’re just using out-of-the-box features.
Now watch me get berated for necro’ing a dead threat followed by “you’re wrong” with zero further explanation
The Game Mode “Classes” section… Note the slot for the “Default Pawn Class”. This is where you tell the GM what pawn class to use. If one is not applied and the Level doesn’t have one defined in override then the DefaultPawn.cpp class is the fallback.
Sorry you have had this experience here. There are some very knowledgeable developers on this forum that take time out of their day to help others, sometimes it’s a bit of a roll of the dice as it’s no guarantee someone with a solution will catch the post.
I don’t think necroing posts is a problem on this forum (aside the recent rash of AI vibecode spammers), Epic devs do it all the time.
I do agree the initial response to the OP was snarky as heck.