Keep character from tilting over when falling off a platform and keep character in standing position

I have a character with physics and when he falls from standing on a platform edge he simply tilts forward and falls. Is there a way to keep him from tilting forward and always keep a standing position?

You can use .isFixedRotation.

object.isFixedRotation = true

https://docs.coronalabs.com/guide/physics/physicsBodies/index.html#object.isfixedrotation

You can use .isFixedRotation.

object.isFixedRotation = true

https://docs.coronalabs.com/guide/physics/physicsBodies/index.html#object.isfixedrotation