The last one does not throw an error itself, but VS still crashes because it cannot find UProceduralMeshComponent when I try to compile.
Edited the DefaultEngine.ini for activ Plugins and added there :
[Plugins]
EnabledPlugins=ProceduralMeshComponent
Of course I checked the forum for help and best advice was here:
Which obviously did not help, because the problem still exists.
Please guys, I need your help !
Oh, and Blueprint is not really a solution because we need to have C++ access to the object and it’s methods without jumping back and forth between BP and C++.
What do I miss ? How do I include a Plugin in C++ ?
I believe this procedural mesh component plugin is not available via C++, blueprint is the only way to go.
You could try copying the plugin to your project and just change all the class and function names, etc. I don’t know.
As TheJamsh mentioned, you don’t need the ProceduralMeshComponent to do procedural meshes in C++, you can just build your own component, and scene proxy (for the rendering) and fill it with whatever data you want and render it the way you want to (within reason).
Using ProceduralMeshComponent in C++ in UE4.10 is in fact possible and really easy, just follow this quick start guide on the Wiki (just discovered it this evening)
4.10 came out over two years ago (this thread is also nearly two years old btw - would have been better to create a new one). You should expect some teething problems. Plugins had a lot of changes around 4.16/4.17 or so - it’s worth looking them up. Lot’s of things will have moved by now.
I’m using UE4.18 and I would like to use the OculusHMD module from the OculusVR plugin.
I have tried the same steps as described above and I’m still not able to include the OculusFunctionLibrary.h.
I really need the GetRawSensorData() function in C++ to work.