Home
News
Learn
Download
Examples
Community
Plugins
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Physics.Arcade.StaticBody
updateFromGameObject()
Description:
Syncs the Static Body's position and size with its parent Game Object.
Returns:
Description:
This Static Body object.
Type:
Phaser.Physics.Arcade.StaticBody
Since:
3.1.0
Source:
src/physics/arcade/StaticBody.js
(Line
513
)
Possible examples