module('entity') module('math') module('color') function entityInit() entityPositionAdd(ENTITY_ID) local phys = entityPhysicsAdd(ENTITY_ID) phys.bodyType = PHYSICS_BODY_STATIC phys:setShapePlane(vec3(0, 1, 0), 0) local mesh = entityMeshAdd(ENTITY_ID) mesh:generatePlane(20, 20) local mat = entityMaterialAdd(ENTITY_ID) mat.color = colorBlack() end function entityDispose() end