Hello! Can you help me/ give a node-by-node explanation to each of the nodes in this BP script?
https://forums.unrealengine.com/attachment.php?attachmentid=18488&d=1417363103
This is from this thread: Creating a simple mesh with specifying vertices - Blueprint - Epic Developer Community Forums
This script should create a triangle with vertices: (0,0,0) (100,0,100) and (0,100,0)
Thank you! This helps a lot, I don’t really understand the first part about the part of the construction script. Can you explain that in a different way?
How do I specify the triangle without a 3D model for the ‘custommesh1’, what types of items must it include?
This is like a constructor.
First you call the parent constructor to reach it up (because the lowest constructor is called).
Then you call “Set Custom Mesh Triangles”.
The first parameter, Custom Mesh 1, is a CustomMeshComponent. You can specify the triangles yourself without a 3D-model.
The second parameter is an array of triangles.
It is initialized with their coordinates. You can see that in the top left corner of the screen.
Well your custom mesh component now has those triangles, it is built up from them.
This is a construction script. It gets called when the Blueprint Object is created. Then it sets the mesh of its CustomMeshComponent.
You do not need a 3D-Model, you do specify the triangles in your triangle array (I don’t really understand the question now )
Thank you for your help!
2 more questions. Why is the triangle variable public, and I also am unable to make the Parent: Construction Script node. Do you think it is because I am running version 4.2.1 of ue4?