Is it possible to get Mesh out of Class Ref
Hey, im rather new to Ue4 and i would like to ask if its Possible to get a Mesh out of a Class Reference?
asked Feb 13 '19 at 06:24 PM in Blueprint Scripting
It can be done if your class reference is specific and if the "mesh" is a variable in that class. The variable issue isn't a problem, neither is making a class reference. This should work if you have all your weapons parented to a master class. So basically create a master class, create child blueprints from it for all your weapons. In the master class create a variable to change the mesh. Once you have that in your struct specify the class variable to be "master weapon" then you will be able to pull the mesh out of the default variables and set it.
answered Feb 16 '19 at 06:41 AM
Nebula Games Inc
Follow this question
Once you sign in you will be able to subscribe for any updates here