Physics.P2.BodyDebug#xy()

xy(index, x, y)

Positions the child found at the given index within this group to the given x and y coordinates.

Parameters
Name Type Description
index integer

The index of the child in the group to set the position of.

x number

The new x position of the child.

y number

The new y position of the child.

Inherited From
Source code: core/Group.js (Line 993)
doc_phaser
2017-02-14 11:04:24
Comments
Leave a Comment

Please login to continue.