I wrote a simple MyPawn c++ object where put some basics things like :UMeshComponent, UAudioComponent, USpotLightComponent, etc…
Then compiled and created a BP based on that C++ class, named and saved the BP_MyPawn, then edited it on the BP editor, reallocated things in their positions correctly…
If I add the BPMyPawn to the scene does that means the MyPlayer.cpp will be useless?
Thanks.
The C++ class is the base. If you “delete it”, your blueprint will either stop working and throw errors at you, or get reparented automatically. A blueprint is basically a “C++ class but it’s graphs”. Here is an example of what a Character blueprint is: UObject->Actor->Pawn->Character->YourCustomC++CharacterClass->YourCustomCharacterBP. Each of them inherint from something (except UObject as that’s the base). They inherit functions, variables, etc…