Phaser API Documentation

  Version: 
updateCenter()

Description:

Updates the Body's center from its position, width, and height.

Since: 3.0.0