Help adding procedurally generated mesh code into a project
Hi all, so I was told about this: https://github.com/SRombauts/UE4ProceduralMesh/commit/728cd931d2f0bde7359168ffcc863bfbbaa8c718
github page which has code to give your procedurally generated mesh collision. I have no idea what to do or where to start. I've already made a .cpp and .h file which are customMesh classes called
My project is called
when I try to copy the respective .cpp and .h files found on the github page, into my .h and .cpp files I get tons of errors. What am I suppose to rename/ include/replace etc.? Please forgive my lack of knowledge, I have absolutely no knowledge of C++ coding with UE4.
EDIT WITH MORE INFORMATION:
I know the basics of coding, not much about C++, since blueprints have been doing it for me fine until now.
The github link has both the .proceduralmeshcomponent.cpp and .proceduralmeshcomponent.h.
If you click 'view' in the top right of each you get to these two pages:
(That's the .h and .cpp I'm directly copying)
After doing Test>Debug>All tests I get a these errors:
Maybe I'm suppose to rename some stuff and delete it? Not sure...
First of all you can forget about the Error List tab it is used by intel sense which is completely messed up thanks fully to the precompiler headers. =(
Go look at the Output tab if you need errors and warning messages.
You only need these files:
Replace all occurrence of
Also find your TriKakei.Build.cs file and make sure it looks like something this:
I think that's all. Now you should be able to compile your code without errors If not, let me know i update my post.
Follow this question
Once you sign in you will be able to subscribe for any updates here