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