sm.ai.getRandomCreationPosition

eturns a random position on a given body.

Kind: Function

Environments: Game

Game

sm.ai.getRandomCreationPosition( body )

Open the full Game reference

Parameters:

Name Type Description
body Body The body.

Returns:

Type Description
Vec3 The position.