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"

Throw Object and change colour on collide -VR

Hi All,

Im using the VR template and have imported a chair. What id like to happen is when i throw a cube at the chair it changes its material.....sounds simple enough but i cant get it..

This is what i've managed to put together so far (attached). Any help would be greatly appreciated. (not looking for the answer) id like to understand how to achieve it.

Thanks.

alt text

Product Version: UE 4.15
Tags:
blueprint_01.png (118.2 kB)
more ▼

asked Mar 30 '17 at 01:48 PM in Blueprint Scripting

avatar image

thatmilkman
1

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

2 answers: sort voted first

oh wait i think i got it, i needed to attach the OnActorBeginOverlap to a trigger rather than the chair.

more ▼

answered Mar 30 '17 at 01:54 PM

avatar image

thatmilkman
1

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

ok now that its figured out, how do i go about it with multiple tags and settings different materials? i know i need to setup some sort of forEachLoop and a tag array..... any help appreciated thanks.

more ▼

answered Mar 30 '17 at 02:24 PM

avatar image

thatmilkman
1

avatar image intoxicat3 Mar 30 '17 at 04:38 PM

Use select node - tag as input and material as output. Simple as that. Vid: https://www.youtube.com/watch?v=lcN-hRux4cU

(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