Physics.Arcade.Body#getBounds()

getBounds(obj) → {object}

Returns the bounds of this physics body.

Only used internally by the World collision methods.

Parameters
Name Type Description
obj object

The object in which to set the bounds values.

Returns
object -

The object that was given to this method.

Source code: physics/arcade/Body.js (Line 1165)
doc_phaser
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.