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 get instance bounds/size?

Is it possible to get instanced mesh component instance bounds or size? The bound nodes seems to return bounds of whole component, not individual instance. I've also tried this custom expression:

Primitive.LocalObjectBoundsMax.z

... But without luck. I just need to get Z size of instance. I will be grateful for any help. Thanks!

Product Version: UE 4.18
Tags:
more ▼

asked Oct 28 '17 at 02:55 PM in Rendering

avatar image

Slavq
2k 157 153 207

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

2 answers: sort voted first

Instance has no bounds. The best you can get is instance scale.

more ▼

answered Nov 20 '18 at 02:25 PM

avatar image

Deathrey
7.8k 130 31 292

avatar image JohnADaniels Nov 20 '18 at 08:56 PM

Thank you Deathrey, for the reply, I tried the scale options but it just shows 1 x 1 x 1, the scale that is it.

I went ahead and just manually put the size in and reference that when the actor is hit.

avatar image Deathrey Nov 24 '18 at 01:36 AM

Works only left of VertexInterpolator material expression or through CustomUV.

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

Did you ever get this figured out? I am having the same issue.

more ▼

answered Nov 19 '18 at 04:23 PM

avatar image

JohnADaniels
85 4 7 15

avatar image Slavq Nov 19 '18 at 04:28 PM

Unfortunately not. Had to abandon my idea because of it, as far as I remember.

avatar image JohnADaniels Nov 19 '18 at 04:29 PM

Ok, thank you for the reply. I will have to do it another way.

(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