So I am trying to make a 2D character in this 3D world and when I hit a box on the Y axis the block

So I am trying to make a 2D character in this 3D world and when I hit a box on the Y axis the block has no effect on mass but x and y are fine. Even when I set the block’s Y axis locked it still kicks it like it nothing, and I am wondering if this is a confusion from within the engine.