I want to make changes to UCharacterMovementComponent to try to get non-capsule collision working. I tried copying the code from charactermovementcomponent.h and charactermovementcomponent.cpp separately into my own class and doing a search and replace to change “CharacterMovementComponent” to the new name. This doesn’t compile and I get a bunch of “inconsistent dll linkage” errors, which I assume has something to do with missing .generated.h files?
I realize I’m completely on the wrong track here. My question is basically what the best way is to change the functionality of classes like UCharacterMovementComponent. Do I change the source code directly? Do I derive from it and try to override its methods?
Sorry if this is a really vague question but I’m really confused about this and can’t find any resources.