Changes in Character Source code not working

I am creating a game where the character will need a box collision, not the capsule component it comes with. I went to the source code in Engine/Runtime/Engine/Private/Character.cpp, and nothing seems to be changing. i am commenting where it is creating the object (so i commented out CapsuleComponent = CreateDefaultSubobject…). None of the changes seem to be coming into affect, I have built the solution in visual studio, overwrote it, and compiled in engine. Thanks for the help.