How to set a SkeletalMeshComponent through C++
I created a custom class which inherits from the "Pawn" class. I gave it an object of SkeletalMeshComponent. In my content browser I have a character skeletalMesh.
In runtime how can I set my classes skeletalMeshComponent to a copy of that skeletalMesh?
asked Dec 02 '15 at 05:09 PM in C++ Programming
You can use a constructor helper function to get a reference to your skeletal mesh and then use the reference to set the skeletal mesh component. https://docs.unrealengine.com/latest/INT/Programming/UnrealArchitecture/Reference/Classes/index.html#assetreferences This wiki page has information that should help with setting up and using constructor helpers.
answered Dec 02 '15 at 06:25 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here