Resize of StaticMesh using C++
The task is to change the size of StaticMesh from C++.
There is base C++ class. StaticMesh is choosed from BP class. I want to use the same BP for different sizes.
From Blueprints I can do it here (see picture). Is it possible to do the same from C++ for one copy only? Or advise the way to do it proper. Textures should not be resized.
Now i know what you whant, I would recommend you to do it in material to avoid having to manually code dynamic scaling.
Material has a TextCood node, multiply it with the object scale node and 'voila'
You should keep a correct scale ratio. but i don't think there is a magic solution for that case
answered Nov 30 '17 at 12:32 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here