fixed a thing. The collider for the player must not have the kinematic box
checked