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"

TransformVector node not working with Instanced Static Mesh

Hello!

Today I ran into an issue while using the Material Editor "ObjectScale" node in connection with an instanced static mesh. The node just completely ignores the scale of individual instances, which leads to wrong results. Looking into the material function I found that it uses "TransformVector" nodes, so I tested around with them and came to the conclusion that the "TransformVector" nodes do not work with the scale of instanced mesh instances!

A workaround is to scale the component instead of the individual instances, however that can be pretty inconvenient and also not a solution for randomly scaled instances.

Product Version: UE 4.11
Tags:
more ▼

asked May 19 '16 at 09:22 AM in Bug Reports

avatar image

Fluppi393
457 36 33 54

avatar image Sean L ♦♦ STAFF May 19 '16 at 03:46 PM

Hello,

Could you please provide a screenshot of your material/blueprint setup so I can take a look at what you are doing?

Thank you

avatar image Fluppi393 May 19 '16 at 04:39 PM

It should be very easy to reproduce, so I will just list the steps involved here: Create a material, add an "ObjectScale" node and plug the "XYZ" output into the basecolor pin of the material. Next create a blueprint, open it and a a InstancedStaticMeshComponent. Assign a mesh to the component and add one instance. If you change the scale of the component to something lower than 1 the mesh will not be white anymore. Now if you reset the component scale and instead scale down your instance, it will always be white regardsless of it's scale.

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

2 answers: sort voted first

Hello,

I have been able to reproduce your issue and have entered a bug report, UE-31043. Thank you for your report.

Have a great day

more ▼

answered May 19 '16 at 07:56 PM

avatar image

Sean L ♦♦ STAFF
43.5k 485 152 443

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

We currently don't support the Object Scale node when instancing. We could extract scale information from the instance transform rather than the primitive component's transform which is what the TransformVector node uses. We have a similar request to make ObjectRadius work in UE-29023. That task could also make the Object Scale work.

Note that instancing has several other limitations because it works by rendering a number of instances as if they were a single object, and there is not always a place to store information for each instance.

more ▼

answered May 23 '16 at 10:39 PM

avatar image

JackP_oldaccount
1.3k 37 11 48

(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