I’m making a VR project in which I have created several Grabbable Objects.
For each of them, I have attached a small text.
I would like for the text to become visible only when the object is grabbed.
I have not found a youtube tutorial nor a forum entry that helps me on this and I am sooooo lost !
Also, I have a very tight deadline and am in need of crucial help :')
I’m also quite beginner with Unreal, so please explain to me in simple words hahaha
Note: if you need this to be dynamic on any grabbable object, you need to either do a parent grab bp or via interface function when interacting with an actor.
How can I be sure that it will appear only when grabbed ?
This looks more like a node to just change the visibility of the text, right ?
I’m a bit confused haha
Also, I’m not sure I understand what you mean when you speak about a “parent grab bp” or an “interface function” ?
Use a boolean condition IsGrab will depend of how you have implemented whether it via a skill key or auto pickup for example.
Yes visibility for the show / hide of the text and by default it hidden.(which can be set from the detail panel of it bp).
Parent bp is a hierarchy principle to share common function/variable among the same type of class(An Animal will be a parent bp and a Cat will be a child bp). If you are not implementing different kind of object to grab, a normal bp actor should be fine and no child needed.
Function interface share a common function as well but it doesnt need to know the class type exactly. ( i suggest looking for tutorial on it first)