sm.ai.getRandomCreationPosition
eturns a random position on a given body.
Kind: Function
Environments: Game
Game
sm.ai.getRandomCreationPosition( body )
Parameters:
| Name | Type | Description |
|---|---|---|
body |
Body | The body. |
Returns:
| Type | Description |
|---|---|
| Vec3 | The position. |