How to create a plane mesh by c++ code and spawn it on some position??
I need to create multiple plane meshes and want to spawn them on some positions with some random scale.I know that I can spawn UE4's plane actors but at the time of spawning i need to sort their UV's according to their scale factor. Can i do it in C++??
asked Oct 22 '18 at 12:13 PM in C++ Programming
You have multiple options for building your own meshes. Check out UProceduralMeshComponent that is part of the engine as a plugin
Alternatively, use this: https://www.unrealengine.com/marketplace/runtime-mesh-component
Use the library to build your quads. To build a quad, create 4 vertices and 3+3 indices for your 2 triangles
answered Oct 22 '18 at 03:22 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here