quick question i have a light turned on and off from the player being in a trigger zone and hitting e working fine, but is it possible to make it so that the player has to be looking at the light switch to turn it on and off as well as being inside of a trigger zone?
Hello,
one way can be using linetrace and check but you can add a smaller box in front of your pawn and reduce the side of the trigger zone too and create the overlap from this component only not the actor which then will automatically mean that player is facing the light and will not generate lot of work to add to your bp.
hey thanks for the response, i have not worked with line trace before do you know of any documentation or tutorials that shows how to achieve what im looking for?
but you can add only a box to your pawn too and then from overlap event check if the box is overlaping or not this component and use it as a boolean to activate or not your event.