How to mirror 3d character model when moving left or right

I am working on a 3d side scroller game and I want my characters model to be mirrored so its front is always pointing to camera when he moves left or right. A good example of what I am after is in Super Smash Bros 4 Wii U and Smash Bros Ultimate. The character models are always facing forward regardless of which direction they are moving. I’ve attached an image of what I mean.

I managed to get what I wanted by using a flip flop node. Shown below.

Does anyone know if I can move forward with my game, or are there any unforeseen consequences with doing what I’ve done?