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"

Query Landscape layer weight in Blueprint?

  • I have a snow layer on other layers.

  • I can do LineTrace, check the Phys Mat and Physical Surface Type, however it indicates snow even if it is not 100% snow.

  • I can Break Hit Result, Cast Hit Component to LandscapeComponent, but there seems no layer weight information.

Or if Blueprint cannot do it, how do I do it with C++?

Thanks!

===================================================

If I paint a snow layer (e.g. a round continuous snow area), on 1 side of the area, I have to go to deep snow to get Snow surface type, on the other side of the area, just shallow snow gives me Snow surface type.

https://docs.unrealengine.com/latest/INT/Engine/Landscape/Editing/PaintMode/index.html "The Physical Material (if any) assigned to areas of Landscape where this layer is dominant."

So, what I see is, in certain area/direction, it does not assume the dominant layer's physical material.

===================================================

So, my test result on 4.9:

  • Take LandscapeMountain's M_Landscape_Master material.

  • Assign Snow physical material to the snow layer info.

  • If I paint snow on a small part of a component, the whole component's physical material is snow.

  • If I paint grass on the whole component, then painting snow on top of the grass does not give me snow physical material at all, have to remove grass where snow is (but you don't see if there's grass below snow).

Product Version: UE 4.9
Tags:
more ▼

asked Dec 21 '15 at 01:55 AM in Blueprint Scripting

avatar image

PowerDesign
176 14 21 32

(comments are locked)
10|2000 characters needed characters left

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