Bit of a newbie question here. I am developing a VR experience on Quest. I have an electric screwdriver which actives on a button press from the VR controller. However, currently the button press activates the screwdriver whether the screwdriver (blueprint) is held of not. Obviously I need it to only happen when the screwdriver is picked up with the ‘grabcomponent’ command.
I have successfully created a variable attached to the grab controller logic, so it knows when any object is picked up or not, but I need to link this variable specifically to instances where only the screwdriver is picked up. I just need pointing in the right direction to achieve this?
Any help would be appreciated. I tried getting actors of class ‘screwdriver blueprint’ before setting the is it held variable, but this didn’t seem to work, so not sure what next to try?