Since i got my first test of ddl loading running with the help of this
http://ericeastwood.com/blog/17/unity-a ... -unmanaged
Then i was just arriving at the same question:
http://stackoverflow.com/questions/4297 ... anaged-dll
with direct use u will hav a lot of these
// Straight From the c++ Dll (unmanaged)
[DllImport("KaosTools", EntryPoint = "TestDivide")]
public static extern float StraightFromDllTestDivide(float a, float b);
since u cant look into a c# dll its actually not very benficial to use one since then u would have to use a c# script to use that one ...
This would have been a nogo with unity 4.
But since unity 5 the free version allows using native plugins!!!
A wrapper in a DLL would be most benificiary if you wanted to obfuscate code and hide functionality from the users. But thats not the goal here.
The goal should be to make this as user friendly as possible also for non programmers. So drag and drop and nice inspectors are important if you want people to use it.
Thats the reason unity is popular in the first place. Just saying.
Another thing i wonder about is if it will be possible to use the unity terrain with newton?
The Terrain has its own pros and contras but it is a quick way to make smaller terrains so its at least useful in somecases and it is somewhat optimized in rendering.
Edit.- i have no what to compile to get a correct newton dll actually i use vs community and they demosandbox project is usable for me but thats not what i want to put in a dll newton alone gives me a compiler error so is dnewton is compileable but that wont give me an dll ???
So i will stop here for now and chill a little an then try to make me a Blender Car.