Home
News
Learn
Download
Examples
Community
Plugins
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Physics.Arcade.Body
updateCenter()
Description:
Updates the Body's
center
from its
position
,
width
, and
height
.
Since:
3.0.0
Source:
src/physics/arcade/Body.js
(Line
916
)
Possible examples