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"

Remove instance from Instanced Static Mesh

Hi, i have a problem, i tried generate basic map and block manipulate like minecraft, map generate by Instaced Static Mesh, but if i try remove instance by index (index find by LineTraceByChannel) then first item remove correctly but all the others visually remove random and physically removed correctly. Thx for your help.

Example: https://youtu.be/k486XzEzgsA

alt text

Product Version: UE 4.17
Tags:
blueprints.png (287.8 kB)
more ▼

asked Sep 23 '17 at 02:40 PM in Blueprint Scripting

avatar image

Inferiusx
1 1 2 3

avatar image Chime Sep 24 '17 at 01:17 AM

My guess is that removing any item completelly removes it from your array, which changed the index of anything above it to avoid having empty items.

I'm not sure why your raycast is not getting the "new" index of the thing you are trying to remove though. (I'm not very familiar with instanced static mesh components so I don't know exactly how the remove instance node is behaving internally)

avatar image Inferiusx Sep 24 '17 at 11:12 AM

I think the index is correctly because all the transformation are done correctly, remove instance, update instance trasform, etc. All correctly done, but only physically, collison, player fall down from the block, but block visually still there... LineTraceByChannel return correct index, but RemoveInstance visually remove random component i don't know how resolve that.

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

1 answer: sort voted first

I resolved my problem. This is a bug of 4.17.1 version and maybe resolve in 4.18 i must downgrade project to 4.16.3 version.

more ▼

answered Sep 24 '17 at 07:15 PM

avatar image

Inferiusx
1 1 2 3

avatar image Koralgoll Feb 24 '18 at 01:37 PM

Well, the issue is still not resolved in 4.17.2 ...

(comments are locked)
10|2000 characters needed characters left
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