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. 

[Closed] Instanced static meshes all return the same location

Final Update: I was able to get this working by using the 'get instance transform' node. Derp.

I'm running a trace to get the location of instanced static meshes that are spawning from an actor BP, but they each return identical locations, in spite of being transformed differently.

alt text

I've confirmed that this same logic inside the same blueprint is working for regular static mesh components.

Update: I've tested getting the local transform relative to the owner's root and that returns 0, 0, 0. Basically it looks like the transform data that is being send to the video card for each instance isn't exposed, and when you ask for it, what you are really getting is the transform of the first instanced mesh and not the transform of the specific mesh you are tracing to.

It's really unfortunate that this doesn't seem to work, because location is one of the few pieces of information that are exposed to use about instanced meshes via blueprint, and without it it's well nigh impossible to correlate a specific mesh instance to any info you want to store about it separately.

Product Version: Not Selected
capture.jpg (52.5 kB)
more ▼

asked Oct 03 '14 at 02:44 AM in Bug Reports

avatar image

1.2k 57 67 99

avatar image Lordink Jul 04 '16 at 10:47 PM

The "get instance transform" requires an index as an input. How do you get an index of the particular instance you are working with?

UPD: Ok I found a way. Using "Get Instances Overlapping Sphere" u can trace at the location of your initial overlap - what was the instance that overlapped. Extremely weird, but works.

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

The question has been closed Dec 11 '14 at 05:42 PM by Adam Davis for the following reason:


1 answer: sort voted first

User answered their own question.

more ▼

answered Dec 11 '14 at 05:42 PM

avatar image HitEmUp Jun 02 '18 at 12:06 AM

yes better then no answer!

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

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question