Make a static mesh invisible
I cant figure out how to setup a blueprint to allow the character to walk over a "trigger" and then the character "Static Mesh" that is in front of him disappear.
this seems so simple yet i cannot find a solution. I have been google searching for hours now. please anybody
asked Nov 25 '17 at 06:30 AM in Blueprint Scripting
1 - Create a blueprint and add 2 components: Static Mesh Component and Box Collision.
2 - Set the collision presets on the Box Collision to overlap only pawn.
3 - Set the Box Collision position in front of the static mesh
4 - On the event graph, create a listener to Actor Begin Overlap (Right Click -> type beginoverlap) and use the node Set Visibility (right click -> Set visibility)
5 - Leave the boolean checkbox unchecked
6 - Put the actor on scene and press play to test it
answered Nov 25 '17 at 10:28 AM
get static mesh and use the node set visibility
(you may need a line trace if the object is not always the same to find / cast to it)
answered Nov 25 '17 at 09:00 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here