Detecting if a blueprint overlaps another
So i have 2 blueprints, One for a Ball and one for a Goal, The Ball can be either Red or Blue (determined by a boolean variable), i want to check the color of the ball when they overlap, but not sure how to
asked Mar 30 '14 at 10:13 PM in Blueprint Scripting
Hopefully I can help!
Just to clarify, it sounds like you are able to detect an overlap between the goal and the ball, but are unable to access the boolean to check for color, is that right?
To expose variables like this you need to cast the overlapping actor to the Ball like in the image below.
I created an actor called BallTest with the variable IsRed. After you do the cast, you can drag off the AsBallTestC and type the name of your variable.
I hope that helps and please let me know if I can help with anything else!
answered Mar 31 '14 at 12:00 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here