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"

Cannot get Equal(Object) or my Branch to behave properly

Okay so I am new to UE4 and this might be something really easy I am missing. What I am trying to do is change the mesh of one of my Pickup_BP objects(from VR starter content) when the game runs if it overlaps with another specific mesh. Specifically when my "food" object overlaps with my "frying pan" object. I can get it to change mesh no problem if I take the condition away and just let it switch if anything overlaps it. My VR hands are what will do it instantly. However as soon as I put in that the overlapping object needs to equal the frying pan before this happens, it wont work. I have googled this for hours and tried many different solutions. Please help. Also for clarification I have the specific frying pan object in my world selected as the default for my frying pan reference variable in my BP.

Edit: Guys still unsolved please help. Cannot progress in my project without getting this to work. I'll answer any question I can to help. Also if there is another way to do this that you know of I will take that too. I could care less about the method just the results.

alt text

Product Version: UE 4.15
bp_pickupfood.png (619.8 kB)
more ▼

asked Mar 26 '17 at 07:34 PM in Blueprint Scripting

avatar image

1 1 2

avatar image chadberg7 Mar 28 '17 at 06:27 PM

alt text

I've tried deleting the object that I want as default and replacing it in the world. Did not help my situation. For whatever reason the Equal(Object) isn't returning true when checking to see if the two objects are the same. Thats my best guess at least.

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

1 answer: sort voted first

If you changed the default after you made an instance, the value of the instance will not be overriden by the default. So if your BP_PickFood was in the world BEFORE you set the default value the instance will not have that. Check if you need to set the frying pan on the instance.

more ▼

answered Mar 26 '17 at 07:39 PM

avatar image

1.3k 46 29 59

(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