Body.getWorldPosition

Returns the world position of a body.

Kind: Function

Environments: Game

Game

body:getWorldPosition(  )

Open the full Game reference

Parameters:

Name Type Description
body Body The body.

Returns:

Type Description
Vec3 The body's world position.