maybe you should start your project first, then add your files, now compile, create your lite-c file in the output folder (don't copy it to the plugins folder before it's finished!), then create your header
the function definition is the same as in normal c:
//CPP Source:
DLLFUNC var myFunc(var arg) { ... }
// Lite-C Source:
var myFunc(var arg);
i don't know if you can use the physics out of any DLL because the physics are also localted in the ackphysx.dll (don't know the name)
but you can try it!
custom plugins are really cool
