I seem to get stuck in UE4 in the dumbest problems, something like an on clicked event taking up huge swathes of debugging time, so I apologize for this dumb thread in which
I seem to be struggling with a dumb problem.
I’m using a HUD crosshair in my game. However I want the interaction like you might get when you click with the mouse, so an object will change colors, or highlight, or make a sound, or some such things which are incredibly common to every game ever made. Thus dumb problem that should be a simple thing.
This isn’t working. My mouse location does not match my crosshairs, I have to pick up to the right, and I realize this is a scaling issue, but how can i lock the OnClicked to the actual cross hair instead? Why is this even an issue? Issues like this make me want to give up and become a buddhist monk, and work on things that are easier, like what is the meaning of life.
But I’m rambling now, because I typically get into my studio to work at 5:30 am on any given day of the week so that I can accrue enough hours to actually make progress on my game, and I totally get derailed by again, dumb problems like this, which I never had in Unity I want to point out hastily, but no I’m not going to Unity again, the motion makes me vomit.
Solutions: I know people throw out these answers like, “hey mate, use a LineTrace for that” which is a super reasonable response, in a possibly Australian accent which always makes people perk up a little and feel happier, because Aussies have a way of doing that to people,
HOWEVER : I can’t find the exact way to use a line trace, and even when i find samples everyone is feeding in the OnClicked (which uses the same mouse input) and thus I’m left with the same problem.
Now I’m going to do something desperate like meditate on this while I try to remind myself to not let these little things get to me… not good for my blood pressure.