Hi EWveryone, I’m working on a shooting system for the curent game jam that is due tomorrow. Basically I’ve encountered a problem where I’ve managed to figure out how to change the position of my aim reticle during gameplay but the default position of my aim reticle is stil showing while I’m aiming. Here’s images of my what I’m talking about as well as the script I’m using in my blueprint character. I have though whenever I release my left mouse button, the widget does disappear. Let me know if I need to provide some further context to this as this is my first post on the forums here. Appreciate any feedback or advice and thank you.
It’s not a direct solution to your approach, but have you considered creating the left, centre and right aiming widgets as part of one containing widget? You could then just show / hide / collapse those widgets via that containing widget, based on the bIsAiming and the character direction. I’m trying to reduce the amount of moving parts to figure out what’s going wrong - as it seems you’re short on time to find a solution.
If I was to guess, it seems you are creating widgets for all situations - but I’m not sure where you are removing / destroying those widgets. Is the issue in the screenshot because you’re not cleaning up the widgets?
I suppose that could work. Making widgets that contain a child widget isint something I normally do. But I pretty mjuch want to like toggle the aiming image in my widget to appear on screen one at a time like I mentions. I have discovered though that your suggestion is probably the best method to getting the solution that I’m trying to go for.