Phaser API Documentation

  Version: 
forceX: boolean

Description:

Always separate overlapping Bodies horizontally before vertically. False (the default) means Bodies are first separated on the axis of greater gravity, or the vertical axis if neither is greater.

Type:
boolean
Default: false
Since: 3.0.0