AND Bollean Node doesn't work accurately

Hi guys,
I’m a blueprint learner and I am making a teleport blueprint that contains two portals like game Portal, but when I made the Is Point Crossing Portal Function, there’s something went wrong and I cant fix it :melting_face:

This AND Boolean with 3 Ture Inputs, still outputs False when playing. I’m not very sure that whether it is related to the whole blueprint or just this function
I’ve put this function on BlueprintUE, if you need more details, just ask me :heart:


Portal- Is Point Crossing Portal posted by anonymous | blueprintUE | PasteBin For Unreal Engine

Hi, are you modifying this value anywhere else in your blueprint? And have you tried just restarting your editor?

1 Like

Thanks for your reply!
Restarting didn’t work.
I used Last In Front variable in another function linked with another portal in the same blueprint, and these functions are similar too. When playing, Last In Front value is true in two function,
Is Intersect and Is in Front are local variables, so I don’t think they will be effected by another function

But when I break the Last In Front link in image1, set it True, and this AND node return True, which made me confused.

Anyone know what happen in this node? :melting_face:, I’m trying to fixing Is Intersect Node. Actually it also worked wrongly.

Do you get same result with the breakpoint at the IsCrossing set node?

1 Like

Yes, they always show False

And that about the value of the connected bools?

1 Like

I’m not sure which bools you want, this is what I get

I mean that what you are seing is probably the curent value after the AND was processed.

For example:


This is what I believe the issue is: false & false & true should return false but in this image it shows true. The reason is that at the time I’m watching the values they have been changed but we still see the tmp bool created by the AND node at the time it was processed.

If the values are checked at the time the AND node is processed (breakpoint at the set node) it should be coherent:


That’s the reason behind this question. I do not see that in your screenshots.

2 Likes

!! I get it! Thank you so much! :smiling_face_with_three_hearts:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.