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"

InstancedStaticMesh Collision Trouble - Advanced BP Scripting

Hello all I have a little trouble with Instanced Static Mesh Collision. I prefix that I'm already advanced user of UE4 Blueprint Scripting so this question is not for beginners. Dont ask me to post all code coz is a marketplace work in progress asset so I cant share all, but only what you need to simulate this problem and undestand if it is a bug our my fault.

For 1st make a instanced static mesh (Wall) in a Blueprint alt text Make a function to set up Collision for Visibile channel to Ignore our Block in function based on input bool value alt text Set the value to false to disable collisions for your Instanced Static Mesh (Wall) alt text Add fiew instances to this Instanced Static Mesh (Wall) alt text Enable Back the collision for the Istanced Static Mesh (Instanced Static Mesh) alt text Now Make a Line Trace that use the Chanel that you switched Collision Type (Visibility). Cast to Instanced Static Mesh and see if Hit Component give you Hit Item value (Result must be the Index of the Instance in the Wall Instanced Static Mesh). alt text I think is the problem of UE4 Source Engine code, becouse probably Instanced Static Mesh is the Parent and Instances was Childrens. And probably when you try to change Collision proprety they apply only to the Parent and didn't propagate to the children, in this case is a bug that must be fixed by UE4 developers. If I'm wrong I want a explane what is my code mistake.

PS: If you dont touch collision proprety line trace work properly and found index for evry instances.

Product Version: UE 4.16
Tags:
a05.jpg (156.3 kB)
a1.jpg (60.2 kB)
a2.jpg (88.1 kB)
a3.jpg (71.0 kB)
a4.jpg (295.7 kB)
more ▼

asked Sep 17 '17 at 06:11 PM in Using UE4

avatar image

MK Studio
636 16 5 30

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

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