sm.terrainTile.getKinematicsForCell

Returns a table of all kinematics in a terrain cell.

Kind: Function

Environments: Terrain

Terrain

sm.terrainTile.getKinematicsForCell(
    tileUid,
    cellOffsetX,
    cellOffsetY,
    sizeLevel
)

Open the full Terrain reference

Parameters:

Name Type Description
tileUid Uuid The tile uuid.
cellOffsetX integer The cell X offset.
cellOffsetY integer The cell Y offset.
sizeLevel integer The size level of kinematics. [0-3]

Returns:

Type Description
table A table { {uuid = Uuid, pos = Vec3, rot = Quat, scale = Vec3, color = Color, params = table, tags = { string, ... } }, .. } of kinematics in the cell.