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"

Referencing Instanced Foliage Actors

Okay i am not sure of the best way to explain this so bare with me.

I have been making a weather system for my game, and i have come to the stage of creating a snow system, now part of this is to have snow appear to settle on rock and tree meshes in the level. At the moment the way i plan to do this is by applying a dynamic material instance to the meshes at run time when called.

My problem is that i cannot find a way to reference the Instanced Foliage Actors. Some of the trees and rocks i have in my level were placed with a few procedural foliage spawners, and some with the foliage brush, so it is my understanding that some are existing as Procedural foliage volumes, and some as Instanced Foliage Actors, but i cannot find a way to to directly target them. Functions like "get All Actors Of A Class" will not return any of the meshes.

Is there a way for me to perform blueprint actions on the meshes placed by both the procedural spawner and the foliage brush, preferably without having to re-simulate and paint them again. It seems rather unreasonable that all my actors that i want to apply this material to would have to be hand placed.

Thanks in advanced this problem has been twisting my brain for days.

Product Version: UE 4.10
Tags:
more ▼

asked Jan 31 '16 at 04:02 PM in Blueprint Scripting

avatar image

Thoradel
16 4 7 10

(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