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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

How to 'store' dynamic created components

Hi,

I am currently working on a procedural river generator and rather than keeping the whole generator in the level i would like to store only the generated river as a separate actor.

So after the river is generated i am creating a new actor and than add the spline mesh components to it. Initially it works as expected but the problem is, that as soon as the construction script of the actor is triggered i keep loosing the reference to the components.

Is there a way to permanently store the spline mesh components without having to keep the generator in the level? ( preferably with blueprints )

Product Version: UE 4.13
Tags:
splinemeshc_01.jpg (716.7 kB)
splinemeshc_02.jpg (419.5 kB)
splinemeshc_03.jpg (419.9 kB)
more ▼

asked Dec 24 '16 at 11:50 AM in Blueprint Scripting

avatar image

entart3t
11 1 3

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

1 answer: sort voted first

One thing you could do is right click on the river actor and select "convert to static mesh". This will prompt you to select a location where you want to save it.

more ▼

answered Dec 24 '16 at 03:38 PM

avatar image

Titirez
323 13 12 24

avatar image entart3t Dec 24 '16 at 09:47 PM

this looks like a valid option, is there a way to automate the process?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
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