x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Replace Static Mesh with another SM through BP

So, I understand that I can basically get a reference to the SM I want to call or make visible and hide the one I'm currently using. But, my question is if there's a way to make a library of Static Meshes and add items to said library whenever needed instead of piling up lots of meshes in a single BP. I'm asking because in this case it's a rather big library of Meshes.

Thank you in advance. Sorry if the question is too simple but I haven't been able to come around this problem

Product Version: UE 4.19
Tags:
more ▼

asked Sep 18 '18 at 03:31 AM in Blueprint Scripting

avatar image

TheIlluminatus
1 1

avatar image TheIlluminatus Sep 18 '18 at 03:32 AM

Also, is there a way of calling a Static Mesh ingame or make it appear with a command through said library ?

avatar image ThompsonN13 Sep 18 '18 at 03:56 AM

i dont know about a library but you can just change a mesh via blueprint. you just get the actor, then get its mesh component, and set mesh. if your doing this during runtime you could use an array to store all the meshes that you want or you could use a datatable.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question