ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. engineGetCOLInfo

Function

engineGetCOLInfo

ClientGame engineTrilogy Hub only

Returns data about a collision from engineLoadCOL: the version, the name, the number of spheres, boxes, faces and vertices and the box bounds.

Syntax

table engineGetCOLInfo(col col)

Arguments

colcol
The collision.

Returns

A data table or false.

Example

local info = engineGetCOLInfo(engineLoadCOL("modele/rampa.col"))
if info then outputChatBox(info.version .. ", " .. info.faces .. " ścian") end

See also