Body.transformWorldPoint

Transforms a point from world space to local space.

Kind: Function

Environments: Game

Game

body:transformWorldPoint( point )

Open the full Game reference

Parameters:

Name Type Description
body Body The body.
point Vec3 The point in world space.

Returns:

Type Description
Vec3 The point in local space.