What I did was to diable the player movement script when pressing enter, setting the player's rigidbody to kinematic and setting all the forces to zero. Then whenever you press A or D a game object that contains the enviroment rotate a bit. Also thanks for the support.