- Documentation
- Client functions
- engineGetCOLInfo
Function
engineGetCOLInfo
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