Side scroller - How to stop my character from bouncing off sides?

Hello,
I am currently learning how to use UE4 and I’m not extremely good at it at the moment.
Let me explain the situation:
I am using the 3D side scroller sample of the engine to try some things and I wanted to replicate the main character by adding a new character class that has the same parent of the main character class. Spawned it, attached a camera the same way it is on the main character and used the same values as the main character for the settings.
I set the controls to the new character, everything is the same and works exept for one thing.
My character can be pushed on the side of the platforms (X axis). I’ll put names on characters so it doesn’t get confusing.

Imagine the main character that is already here with the sample is called “Main” and my new character is called “Bob”.
If I take Bob and jump on the head of Main he will bounce to the side and then will not be able to return on the platforms due do the different X axis position he will be on but if I take Main and jump on Bob’s head he will continue bouncing or bounce off him but staying on the same X axis location.

What I want is do make Bob stay on that location too but I don’t know what Main has for that that Bob has not!
If you guys could help me with that I would really apreciate it!