Anybody has the expericence? How do I add my own defined components in a component array?
Hello, Here I have a question: I personal create a array with spline component like:
and two spline meshes like :
in my head file. And In my cpp files I add some points in the spline Components and then want them add in the 'Routes ' array which I create in head file. Is as simple as :
or there must be some other way??????
Any Help will be appreciated!!!!Thanks!!!
asked Oct 31 '18 at 09:29 AM in C++ Programming
You con't to create variables for each individual component, you can just store them in array. Those pointers are just for you to use, AActor has it own component array that keep track on registered components.
answered Oct 31 '18 at 02:27 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here