Difference between revisions of "B2.Body:getPosition"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Returns the world body origin position.<br /> <br /> <source lang="lua"> (number) (number), = b...")
(No difference)

Revision as of 11:03, 23 August 2018

Available since: Gideros 2011.6

Description


Returns the world body origin position.

(number) (number), = b2.Body:getPosition()

Returns (number) x coordinate of the body position
Returns (number) y coordinate of the body position